[
https://issues.apache.org/jira/browse/ZOOKEEPER-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ZOOKEEPER-3546:
--------------------------------------
Labels: pull-request-available (was: )
> Containers that never have children stay forever
> ------------------------------------------------
>
> Key: ZOOKEEPER-3546
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3546
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Affects Versions: 3.5.3, 3.5.5
> Reporter: Sylvain Wallez
> Priority: Major
> Labels: pull-request-available
>
> {{ContainerManager}} does not delete containers whose cversion is zero to
> avoid situations where a container would be deleted before the application
> had the chance to create children.
> This caused issues in our application where the process stopped between
> container creation and child creation: the containers were never deleted.
> To avoid this while giving applications the time to create children, empty
> containers with a cversion of zero should be deleted after a grace period,
> e.g. not when they are first collected, but the second time.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)