You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2019/10/25 06:14:48 UTC
[GitHub] [zookeeper] maoling opened a new pull request #1125:
ZOOKEEPER-3583:Add new apis to get node type and ttl time info
maoling opened a new pull request #1125: ZOOKEEPER-3583:Add new apis to get node type and ttl time info
URL: https://github.com/apache/zookeeper/pull/1125
- Add new apis: `getStatPersisted, getTTL, getNodeType` in the `ZooKeeper.java`
- Currently, the `ephemeralOwner` of stat returned from java native client is not the actual one, due to the method `DataNode#getClientEphemeralOwner`, I cannot change it for the compatibility.
- `getStatPersisted` mainly is used for getting the actual `ephemeralOwner` stored in the disk, Only use the actual `ephemeralOwner` stored in the disk, can we get the node type and ttl time info.
- `stat -d /path` to show more details about a node
- more details in the [ZOOKEEPER-3583](https://issues.apache.org/jira/browse/ZOOKEEPER-3583)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services