GitHub user alexbb opened a pull request:
https://github.com/apache/zookeeper/pull/425
Add keys for the Zxid from the stat command
Add keys for the zxid and its component pieces: epoch and transaction
counter. These are not reported by the 'mntr' command so they must be obtained
from 'stat'. The counter is useful for tracking transaction rates, and epoch is
useful for tracking leader churn.
zk_zxid - the 64bit zxid from ZK
zk_zxid_counter - the lower 32 bits, AKA the counter
zk_zxid_epoch - the upper 32 bits, AKA the epoch
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alexbb/zookeeper add_zxid_stats
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/425.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #425
----
commit 874628db69ea59b7f3856007a9b1fb377ff86a4d
Author: Alex Bame <[email protected]>
Date: 2017-11-29T16:59:32Z
add keys for the Zxid from the stat command:
zk_zxid - the 64bit zxid from ZK
zk_zxid_counter - the lower 32 bits, AKA the counter
zk_zxid_epoch - the upper 32 bits, AKA the epoch
----
---