Caideyipi opened a new pull request, #18224: URL: https://github.com/apache/iotdb/pull/18224
## Description ### Active load handoff - Transfer each TsFile and its resource/mods files through a unique directory, publish the TsFile last, and clean partial output on failure. - Keep source files until the whole handoff succeeds and isolate same-name file groups from one another. ### Scanner and loader lifecycle - Deduplicate scanner candidates derived from TsFiles and companion files. - Prevent internal attribute/transfer directories from being inferred as table databases. - Clear stale pending state across loader restarts and clean empty transfer directories after processing. ### Load resource cleanup - Release cached LOAD memory when split/routing exits early. - Retry deletion of the TsFile and each companion independently so one failure does not skip the remaining cleanup. ### Test coverage - Datanode load unit-test suite: 41 tests passed. - Final focused regression suite: 15 tests passed. - Spotless check, Checkstyle, and git diff --check passed. <hr> This PR has: - [x] been self-reviewed. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage. <hr> ##### Key changed/added classes (or packages if there are too many classes) in this PR - LoadSingleTsFileNode and LoadTsFileScheduler - ActiveLoadDirScanner, ActiveLoadPendingQueue, and ActiveLoadTsFileLoader - LoadUtil -- 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]
