Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apache ZooKeeper Essentials

You're reading from   Apache ZooKeeper Essentials A fast-paced guide to using Apache ZooKeeper to coordinate services in distributed systems

Arrow left icon
Product type Paperback
Published in Jan 2015
Publisher
ISBN-13 9781784391324
Length 168 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Saurav Haloi Saurav Haloi
Author Profile Icon Saurav Haloi
Saurav Haloi
Arrow right icon
View More author details
Toc

The ZooKeeper stat structure

Every znode in ZooKeeper's namespace has a stat structure associated with it, which is analogous to the stat structure of files in a Unix/Linux filesystem. The fields in the stat structure of a znode are shown as follows with their respective meanings:

  • cZxid: This is the transaction ID of the change that caused this znode to be created.
  • mZxid: This is the transaction ID of the change that last modified this znode.
  • pZxid: This is the transaction ID for a znode change that pertains to adding or removing children.
  • ctime: This denotes the creation time of a znode in milliseconds from epoch.
  • mtime: This denotes the last modification time of a znode in milliseconds from epoch.
  • dataVersion: This denotes the number of changes made to the data of this znode.
  • cversion: This denotes the number of changes made to the children of this znode.
  • aclVersion: This denotes the number of changes made to the ACL of this znode.
  • ephemeralOwner: This is the session ID of the znode&apos...
You have been reading a chapter from
Apache ZooKeeper Essentials
Published in: Jan 2015
Publisher:
ISBN-13: 9781784391324
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime