Caideyipi opened a new pull request, #18303: URL: https://github.com/apache/iotdb/pull/18303
Backport #18163 to dev/1.3, cherry-picked from commit 350c6c7bcd25b883eca53897b294b57637850119. This optimizes cleanup after a Pipe is dropped by avoiding per-file deletion during resource release, moving the whole stale Pipe TsFile directory aside, and submitting it to the throttled periodical cleaner. Adaptations for dev/1.3: - Keep the dev/1.3 ModificationFile handling and literal logging style because the newer DataNode i18n layout is not present on this branch. - Include the minimal pipeName_creationTime resource-key handling that was already present on master before #18163. This is required so dropping a Pipe locates the same resource directory used by its TsFile events and safely distinguishes recreated Pipes with the same name. Tests: - mvn -o -nsu -Ddevelocity.off=true -pl iotdb-core/datanode -Dtest=PipeTsFileResourceManagerTest -DfailIfNoTests=false test - mvn -o -nsu -Ddevelocity.off=true -pl iotdb-core/datanode -Dtest=PipeTsFileInsertionEventTest -DfailIfNoTests=false test Both commands passed, including DataNode compilation, Checkstyle, and Spotless checks. -- 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]
