Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #19051 +/- ##
===========================================
Coverage 48.11% 48.11%
- Complexity 621 625 +4
===========================================
Files 5572 5572
Lines 410286 411488 +1202
Branches 54129 54166 +37
===========================================
+ Hits 197408 197990 +582
- Misses 212878 213498 +620 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I reviewed the P1 metadata recovery test additions in commit
Validation: the IT-enabled reactor compilation passed across 37 modules in the source worktree. The Failsafe report confirms only |
|
Metadata P0 review/fix round for This round found and fixed test-logic and fixture precondition issues:
Final validation: Apache IoTDB on JDK 17, The new P0 fault agent and controls stay under This round does not approve the full PR. It remains a draft pending a fresh independent review of the latest complete diff and context. |
Verify IoTConsensus staged payload retention across writer restart until a slow replica reaches the durable checkpoint, with physical values, mods and duplicate checks. Complete Tree and Table async retry recovery from original pending handoffs, including stored identity, database routing and ordered schema assertions.
Cover deletion isolation in a shared TsFile, rewrite survival through cross-space compaction and restart, and stable attribute-filter deletion scope after attribute updates. Add test-only helpers to assert the physical file preconditions.
Cover mixed sealed-file and multi-segment WAL recovery, partial and rejected inserts, cross-Region batch failure and retry, cached Session routes after leader loss, and write admission rollback with post-recovery memory release.
|




Description
Add integration coverage for recovery windows that can lose replicated or loaded data, leave stale metadata, or retain staging resources indefinitely.
Pipe recovery
Metadata recovery
LOAD TsFile recovery
The LOAD additions are limited to three IT files and add no production hooks or interfaces. Existing fault-injection agents remain in test sources; production metadata hooks removed earlier are not restored. Compatible scenarios share class-scoped clusters.
Deletion integrity
Write recovery and admission
The write additions are limited to six IT files and add no production hooks. Preserve the target branch's existing seed-fallback cases while adapting the new route-recovery fixture.
Validation
28c5028bb462plus the working changes. This transfer did not rerun executable tests or validate the combined PR head.28c5028bb462plus the working changes. The exact reviewed three-file contents were transferred into this PR. Existing source-built dependencies and node templates were reused under recorded provenance; this was not a fresh uncached full build.030e5c543f9passed 17 tests, 0 failures, 0 errors, 0 skipped. The retained adapted schema-log and catalog recovery cases subsequently passed individually. These historical results are not a full-PR-head validation.Review status
Keep this PR as a draft pending an independent review of the complete updated PR diff and context. The individual workspace reviews do not approve the complete combined PR diff. The write transfer includes a target-fixture adaptation and also requires independent review at the updated head.
The Pipe-focused workflow-dispatch input
pipe_p0_onlycontinues to selectIoTDBPipeRecoveryITunderMultiClusterIT2DualTreeAutoEnhanced.