[ https://issues.apache.org/jira/browse/ZOOKEEPER-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789479#action_12789479 ]
Mahadev konar commented on ZOOKEEPER-616: ----------------------------------------- Its more appropriate to put it in a zookeeperutils class. We should have one anyway for both c and java. > Provide a function to parse out the name and the sequence number from a > zknode path > ----------------------------------------------------------------------------------- > > Key: ZOOKEEPER-616 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-616 > Project: Zookeeper > Issue Type: New Feature > Components: c client, java client > Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.2.0, 3.2.1 > Reporter: Avery Ching > Priority: Minor > Fix For: 3.3.0 > > > Given a zookeeper path and knowing it was created with the SEQUENCE flag, it > would be nice to be able to get the sequence number and the name. Currently, > it is not documented how many bytes the sequence number uses in the path > (Mahadev told me 10 for 3.1.1 for example), and having a function to retrieve > this data would hide the actual number of bytes used and provide the useful > functionality for users. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.