[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997442#comment-13997442
 ] 

Flavio Junqueira commented on ZOOKEEPER-1925:
---------------------------------------------

I suppose you're referring to expiration of a znode without associating it to a 
session like we do with ephemerals, yes? If the use is garbage collection, 
could you write an app-level thread that periodically scans the tree (or a 
sub-tree) for old znodes.  

> Time to Live or auto expiration of zookeeper node
> -------------------------------------------------
>
>                 Key: ZOOKEEPER-1925
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1925
>             Project: ZooKeeper
>          Issue Type: New Feature
>            Reporter: Omkar Vinit Joshi
>
> Today whenever a znode is created; it stays there for ever. We all know that 
> there is a limitation in terms of how many nodes a system can handle. It 
> would be nice to have a way to specify expiry time for every znode thereby 
> stale zondes are cleandup automatically after sufficiently large time. any 
> thoughts?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to