Repository navigation
P12: Port snapshot diagnostic tools to ZooKeeper 3.8.7 - #188
Merged
bellatrix007 merged 2 commits intoDec 3, 2026
Conversation
1 task
bellatrix007
force-pushed
the
adbansal/zk-387-p12-snapshot-tools-stacked
branch
from
November 27, 2026 07:17
1b8cf09 to
b844357
Compare
Preserve branch-3.6 comparer and recursive-summary behavior on the existing Apache 3.8.7 comparer, including integrity checks, CLI handling, launchers and regression coverage. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Restore the branch-3.6 wording without changing executable code or indentation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
bellatrix007
force-pushed
the
adbansal/zk-387-p12-snapshot-tools-stacked
branch
from
December 3, 2026 12:25
b844357 to
9e37508
Compare
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.
Description
Forward-port #153 and #151 from
branch-3.6to ZooKeeper 3.8.7, stackedon #187. This preserves the existing LinkedIn adaptations of Apache
ZOOKEEPER-3427 and ZOOKEEPER-4566, not a verbatim Apache backport.
descendant counts.
input validation, interactive EOF/root handling and launcher exit propagation.
and error behavior. Both tools operate offline without modifying snapshots.
Tests
On
26f15e3d:SnapshotComparerTest,SnapshotRecursiveSummaryTest,SnapStreamTestPackaged checks used only distribution jars and exercised CHECKED/GZIP/SNAPPY
snapshots, spaced paths, JVM flags, invalid inputs and interactive EOF.
Input-file hashes remained unchanged.
Windows launcher execution and production-scale snapshot qualification remain
unverified. Earlier stack CI failures in the reconnect fixture (#184) and
leader-state test (#186) are outside this change.
Changes that Break Backward Compatibility (Optional)
No server/client protocol or snapshot-format changes. The comparer now follows
the fork's stricter CLI behavior: invalid invocation exits with code 2;
snapshot read/integrity failure exits with code 1. Its Windows launcher
propagates the Java exit code.
Documentation (Optional)
Updated
zookeeperTools.mdwith usage, aggregation semantics and limitations:whole-snapshot memory loading, recursive traversal and no transaction-log replay.
🤖 Generated with GitHub Copilot CLI