You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by GitBox <gi...@apache.org> on 2019/03/11 13:06:14 UTC

[GitHub] [zookeeper] meszibalu commented on issue #838: ZOOKEEPER-2168 Add C APIs for new createContainer Methods

meszibalu commented on issue #838: ZOOKEEPER-2168 Add C APIs for new createContainer Methods
URL: https://github.com/apache/zookeeper/pull/838#issuecomment-471530471
 
 
   > Also please consider adding some C++ unit tests for the new code.
   
   @anmolnar It is not possible. ZK stores znode type in `Stat.ephemeralOwner` field and it is set to `Long.MIN_VALUE` for containers. Unfortunately when I call `create` or `exists`, the returned `Stat` object is filled by `DataNode.copyStat` which puts zero into `ephemeralOwner` in case of containers.
   

----------------------------------------------------------------
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