zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] meszibalu commented on issue #838: ZOOKEEPER-2168 Add C APIs for new createContainer Methods
Date Mon, 11 Mar 2019 13:06:14 GMT
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

Mime
View raw message