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

   The old mechanism uses a "compaction mod file" to record deletions during 
compaction and merge them into the modification file of the compacted file.
   However, this encounters concurrent issues during the process of "merging 
deletions into the modification file of the compacted file". 
   Therefore, it is replaced with the new mechanism using cascading 
modification files to write deletions during compaction also to the compacted 
files' modification file.
   
   For compatibility with systems that have already generated compaction mods, 
the old mechanism is kept to handle the recovery and deletion of the compaction 
mods. 
   But no new compaction mods should be created, which is to be fixed in this 
PR.
   
   This also avoids meeting null compaction mods during deletion because after 
exiting the synchronized block below, the compaction mods may just be set to 
null by compaction.
   
![image](https://github.com/user-attachments/assets/9655ab14-b0c5-4cab-804f-427c4c4a1471)
   


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