Expiration of zookeeper persistent node

纵饮孤独 提交于 2021-01-28 06:53:23

问题


I am not able to find information regarding automatic expiration of persistent node in zookeeper. Is persistent node only expire when zookeeper server is shut down or it can expired before before that ?. if yes, what are the possible reason. Here I am asking about automatic expiration not manually deleting the node.


回答1:


Persistent ZK nodes are saved on disk and preserved on service restarts and only deleted by request. Ephemeral nodes are deleted automatically on client disconnection.



来源:https://stackoverflow.com/questions/26773316/expiration-of-zookeeper-persistent-node

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!