You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Kezhu Wang (Jira)" <ji...@apache.org> on 2025/04/07 03:59:00 UTC
[jira] [Created] (ZOOKEEPER-4915) Change default value of znode.container.maxNeverUsedIntervalMs
Kezhu Wang created ZOOKEEPER-4915:
-------------------------------------
Summary: Change default value of znode.container.maxNeverUsedIntervalMs
Key: ZOOKEEPER-4915
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4915
Project: ZooKeeper
Issue Type: Improvement
Components: server
Reporter: Kezhu Wang
Usually, {{CONTAINER}} node with no children will be deleted. But if that node is never used(a.k.a. no child created before), it will not be deleted unless {{znode.container.maxNeverUsedIntervalMs}} configured. Currently, {{znode.container.maxNeverUsedIntervalMs}} defaults to {{0}} which means container nodes that never had any children are never deleted.
I think it would make more sense to give it a non {{0}} value, say 5 minutes, to make it work out of box.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)