vaibhav.g
vaibhav.g

Reputation: 759

Expiration of zookeeper persistent node

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.

Upvotes: 1

Views: 1418

Answers (1)

Denis Makarenko
Denis Makarenko

Reputation: 2938

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.

Upvotes: 1

Related Questions