caozj1011 opened a new pull request, #11682:
URL: https://github.com/apache/iotdb/pull/11682

   ## Description
   
   ### before this PR:
   
   1. Select all less than unFlushMemTableMinVersion wal file, remember to 
CandidateFiles
   2. In CandidateFiles, select all files smaller than safelyDeleteIndex, 
denoted as MustDeletedFiles
   3. Delete MustDeletedFiles
   
   ### after this PR:
   1. Obtain all wal files in a WalNode except the last file, which are called 
AllWalFiles
   2. Obtain CheckPointManager. All not flush or be pin memTableId2Info 
MemTable, remember to ActiveMemTable
   3. Get the set of MEMtables that each wal file contains, and refer to it as 
MemTableIdsOfWalMap
   4. Traverse AllWalFiles and determine whether the deletion conditions in the 
optimization idea are met according to ActiveMemTable and MemTableIdsOfWalMap. 
If yes, delete the current file.


-- 
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]

Reply via email to