Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8DCA5200D48 for ; Wed, 29 Nov 2017 19:59:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8C7F9160C04; Wed, 29 Nov 2017 18:59:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 01582160C02 for ; Wed, 29 Nov 2017 19:59:11 +0100 (CET) Received: (qmail 24481 invoked by uid 500); 29 Nov 2017 18:59:11 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 24470 invoked by uid 99); 29 Nov 2017 18:59:10 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2017 18:59:10 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B41F6F17E6; Wed, 29 Nov 2017 18:59:10 +0000 (UTC) From: alexbb To: dev@zookeeper.apache.org Reply-To: dev@zookeeper.apache.org Message-ID: Subject: [GitHub] zookeeper pull request #425: Add keys for the Zxid from the stat command Content-Type: text/plain Date: Wed, 29 Nov 2017 18:59:10 +0000 (UTC) archived-at: Wed, 29 Nov 2017 18:59:12 -0000 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 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 ---- ---