HTHou opened a new pull request, #11999: URL: https://github.com/apache/iotdb/pull/11999
## Description Before this fixing, if there is not only one time partition in system, the last flush time of non-latest partition cannot recover because of a redundant `partitionFiles.getKey() == latestPartitionId` judgement condition. ## How to Test Execute the following sql. ``` insert into root.sg.d1(time,s1) values(604799999, 1); flush; insert into root.sg.d1(time,s1) values(604800000, 1); flush ``` Then restart IoTDB and execute ``` insert into root.sg.d1(time,s1) values(1, 1); ``` You will see the timestamp 1 was inserted into sequence space. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
