Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #18623 +/- ##
============================================
+ Coverage 46.40% 46.59% +0.19%
Complexity 713 713
============================================
Files 5537 5551 +14
Lines 404321 407506 +3185
Branches 52850 53501 +651
============================================
+ Hits 187615 189879 +2264
- Misses 216706 217627 +921 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…pe-logical-backup-sink # Conflicts: # distribution/src/assembly/cli.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Logical backup now has separate capture, inspection, validation, packaging and restore operations.
dumpconnects to the source and seals a portable directory;packverifies an existing directory and creates a ZIP without accepting database connection options. Deprecatedexport/importaliases report their replacements and preserve the corresponding workflows.manifest.jsonthe archive entry point, recording scope, models, filters, capture settings, source identity, stream/file paths and SHA-256 digests, counts, completeness and capture/seal times. Legacy stream-only inputs remain readable and gain a root manifest when packed.--untilboundary.--allow-incompleteonly permits explicitly declared content gaps.iotdb-client/cli/LOGICAL_BACKUP.md; keep English and Chinese help/error messages in sync.Current capability limits are explicit in help and documentation: source nodes and the CLI need a shared backup filesystem;
--stop-sequenceis rejected because there is no stable global source sequence; filtered capture requires one model, with a single prefix/full Tree path for config/schema and independent database/table regexes for Table. Target object conflicts and object-level permissions are checked during replay, and only--conflict failis supported. Streams do not represent a global source transaction.Validation (Windows, JDK 17):
IoTDBPipeLogicalBackupIT: 2 tests passed using two clusters with 1 ConfigNode and 1 DataNode each. Covers Tree snapshots, aligned/null data, scope/auth/path/time exclusion, ZIP verification, local/target dry-run, restore/checkpoint resume, and bounded Table capture with realtime inserts and deletion. Both cases assert that metadata is stored as logical plans rather than snapshot-file requests.git diff --checkpassed.Chinese full-reactor
test-compile -P with-zh-localepassed.The verification build used
-Drat.skip=truebecause the local, pre-existing Go submodule changes contain 5 unrelated files without license headers. Those changes were preserved and are excluded from this PR update; all new files in this change have Apache license headers.