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