Randgalt opened a new pull request #1138: ZOOKEEPER-3546 - Allow optional 
deletion of never used Container Nodes
URL: https://github.com/apache/zookeeper/pull/1138
 
 
   Edge cases can cause Container Nodes to never be deleted. i.e. if the 
container node is created and then the client that create the node crashes the 
container will not get deleted unless another client creates a node inside of 
it. This is because the initial implementation does not delete container nodes 
with a cversion of 0. This PR adds a new system property, 
"znode.container.maxZeroChildrenIntervalMs", that can be set to delete 
containers with a cversion of 0 that have been retained for a period of time. 
This is a backward compatible change as the default value for this is 
Long.MAX_VALUE - i.e. never.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to