As we all know that server creates the ephermal node inside the /servers node. So client can track the list of up and running servers.
Now, if any server is going down for any reason or power down (Which may not be graceful power down) then the deletion of ephermal node how is it handled ?
Means there is a handler kind of code on zookeeper servers where any fault occurs then inside the fault handler it will delete the ephermal node and stop the server ???