Skip to content

Fix Load task cleanup and input handling - #18772

Open
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:codex/fix-load-p2-issues
Open

Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:codex/fix-load-p2-issues

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant