swallez commented on issue #1091: ZOOKEEPER-3546: Delete empty containers with cversion == 0 after a grace period URL: https://github.com/apache/zookeeper/pull/1091#issuecomment-540083089 @TisonKun `PersistentTtlNode` creates a container as a `PersistentNode` and then adds a TTL node in it named `touch` that is refreshed periodically. This means the application can use the parent as a regular node and won't be polluted by watch event triggered by the periodic refresh required by the TTL. The problem in Curator is that those two nodes (container and `touch` child) are created separately. So if there's a crash between these two requests and `touch` is never created, the parent container stays forever.
---------------------------------------------------------------- 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