You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by rammohan ganapavarapu <ra...@gmail.com> on 2020/02/02 02:35:18 UTC

znode count

Hi,

I have restored zk from backup snapshot but i see znode count difference
before and after, any idea?

Before:

zk_version 3.4.5-1392090, built on 09/30/2012 17:52 GMT
zk_avg_latency 0
zk_max_latency 49784
zk_min_latency 0
zk_packets_received 106038250008
zk_packets_sent 106061041183
zk_num_alive_connections 1419
zk_outstanding_requests 0
zk_server_state leader
zk_znode_count 12876423
zk_watch_count 317602
zk_ephemerals_count 3016
zk_approximate_data_size 1675131049
zk_open_file_descriptor_count 1501
zk_max_file_descriptor_count 100000
zk_followers 24
zk_synced_followers 4
zk_pending_syncs 0

After:

zk_version 3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf, built on
03/06/2019 16:18 GMT
zk_avg_latency 0
zk_max_latency 0
zk_min_latency 0
zk_packets_received 22
zk_packets_sent 21
zk_num_alive_connections 1
zk_outstanding_requests 0
zk_server_state leader
zk_znode_count 12876408
zk_watch_count 0
zk_ephemerals_count 0
zk_approximate_data_size 1675255490
zk_open_file_descriptor_count 54
zk_max_file_descriptor_count 100000
zk_fsync_threshold_exceed_count 0
zk_followers 8
zk_synced_followers 4
zk_pending_syncs 0
zk_last_proposal_size 36
zk_max_proposal_size 36
zk_min_proposal_size 32

Ram

Re: znode count

Posted by Zhewei Hu <zh...@gmail.com>.
Hi Ram,

I think this is expected since the ZK snapshot may or may not include the
latest data.
Even if you restore ZK data from the latest snapshot and transaction log, it
is still possible that some latest ZK data will be missing.

HTH,
Zhewei



--
Sent from: http://zookeeper-user.578899.n2.nabble.com/