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

   ## Description
   
   Backport apache/iotdb#18224 (ea0b0099227a850254040ab87436eb5bbd092d60) to 
dev/1.3.
   
   The conflict resolution adapts the fix to the 1.3 APIs while preserving its 
reliability changes:
   
   - isolate each async TsFile and companion-file handoff in a unique transfer 
directory;
   - deduplicate scanner entries and keep standalone TsFiles discoverable;
   - retry cleanup without letting one failed deletion skip the remaining 
companions;
   - clear pending/loading state correctly across active-loader restarts;
   - release buffered load memory on abort/cleanup paths.
   
   ### Verification
   
   - [x] Related DataNode unit tests: 12 tests, 0 failures
   - [x] Checkstyle and Spotless checks
   - [x] Integration-test sources compile on dev/1.3
   - [ ] The targeted IT could not start locally because the existing 
integration-test template-node mixed incompatible cached TsFile/ANTLR artifacts 
(TSEncoding.OBJECT NoSuchFieldError; ANTLR 4.13.2 vs 4.9.3). The failure 
occurred during ConfigNode/DataNode startup, before the test method ran.
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added comments explaining non-obvious intent.
   - [x] added or updated unit tests for the changed paths.
   - [x] added an integration test.
   
   <hr>
   
   ##### Key changed/added classes
   
   - ActiveLoadUtil
   - ActiveLoadDirScanner
   - ActiveLoadPendingQueue
   - ActiveLoadTsFileLoader
   - LoadSingleTsFileNode
   - LoadTsFileScheduler


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