[
https://issues.apache.org/jira/browse/ZOOKEEPER-3427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enrico Olivelli resolved ZOOKEEPER-3427.
----------------------------------------
Fix Version/s: 3.7.0
Resolution: Fixed
Issue resolved by pull request 984
[https://github.com/apache/zookeeper/pull/984]
> Introduce SnapshotComparer that assists debugging with snapshots.
> -----------------------------------------------------------------
>
> Key: ZOOKEEPER-3427
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3427
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.6.0
> Reporter: Michael Han
> Assignee: Maya Wang
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.7.0
>
> Time Spent: 9h
> Remaining Estimate: 0h
>
> SnapshotComparer is a tool that loads and compares two snapshots, with
> configurable threshold and various filters. It's useful in use cases that
> involve snapshot analysis, such as offline data consistency checking, and
> data trending analysis (e.g. what's growing under which zNode path during
> when).
> A sample output of the tool (actual numbers removed, due to sensitivity).
> {code:java}
> Successfully parsed options!
> Deserialized snapshot in snapshot.0 in seconds
> Processed data tree in seconds
> Deserialized snapshot in snapshot.1 in seconds
> Processed data tree in seconds
> Node count:
> Total size:
> Max depth:
> Count of nodes at depth 1:
> Count of nodes at depth 2:
> Count of nodes at depth 3:
> Count of nodes at depth 4:
> Count of nodes at depth 5:
> Count of nodes at depth 6:
> Count of nodes at depth 7:
> Count of nodes at depth 8:
> Count of nodes at depth 9:
> Count of nodes at depth 10:
> Count of nodes at depth 11:
> Node count:
> Total size:
> Max depth:
> Count of nodes at depth 1:
> Count of nodes at depth 2:
> Count of nodes at depth 3:
> Count of nodes at depth 4:
> Count of nodes at depth 5:
> Count of nodes at depth 6:
> Count of nodes at depth 7:
> Count of nodes at depth 8:
> Count of nodes at depth 9:
> Count of nodes at depth 10:
> Count of nodes at depth 11:
> Analysis for depth 0
> Analysis for depth 1
> Analysis for depth 2
> Analysis for depth 3
> Analysis for depth 4
> Analysis for depth 5
> Analysis for depth 6
> Analysis for depth 7
> Analysis for depth 8
> Analysis for depth 9
> Analysis for depth 10
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)