You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "Caideyipi (via GitHub)" <gi...@apache.org> on 2026/09/29 10:16:56 UTC

[PR] Fix Load task cleanup and input handling [iotdb]

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

   ## Summary
   
   - avoid preallocating the complete sliced Load RPC body from the peer-provided original size
   - defer rollback cleanup until in-flight Load work finishes and reject new work after rollback is requested
   - skip the active-load failure directory when it is nested below a listening directory
   
   ## Tests
   
   - `mvn spotless:apply -pl iotdb-core/datanode`
   - `mvn -pl iotdb-core/datanode "-Dtest=LoadTsFilePieceNodeAssemblerTest,ActiveLoadDirScannerTest,LoadTsFileManagerTest" test` (13 tests passed)
   


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix Load task cleanup and input handling [iotdb]

Posted by "Caideyipi (via GitHub)" <gi...@apache.org>.
Caideyipi closed pull request #18772: Fix Load task cleanup and input handling
URL: https://github.com/apache/iotdb/pull/18772


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix Load task cleanup and input handling [iotdb]

Posted by "Caideyipi (via GitHub)" <gi...@apache.org>.
Caideyipi commented on PR #18772:
URL: https://github.com/apache/iotdb/pull/18772#issuecomment-6286207301

   Closing in favor of #18936, which preserves all three improvements on dev/1.3. #18698 replaced the global Load manager and EXECUTE/ROLLBACK lifecycle on master with per-DataRegion consensus commands and consensus-aware staged-file retention, so the cleanup/rollback implementation in this PR no longer fits the master Load path. The buffer-allocation and failure-directory scanning improvements remain independently applicable to master, but the legacy cleanup changes should not be restored there just to resolve these conflicts.


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org