[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Han reassigned ZOOKEEPER-3427:
--------------------------------------

    Assignee: Maya Wang  (was: Michael Han)

> 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
>          Time Spent: 2h 50m
>  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
(v7.6.14#76016)

Reply via email to