zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] swallez commented on issue #1091: ZOOKEEPER-3546: Delete empty containers with cversion == 0 after a grace period
Date Wed, 09 Oct 2019 16:36:26 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message