All Questions
Zookeeper medium

A client loses its network connection for 2 seconds in an environment with a 10-second `sessionTimeout`. What is the immediate fate of the client's Ephemeral nodes during this 'blip'?

  1. A They are purged immediately to prevent stale data from being served by the remaining cluster members.
  2. B They remain alive. The Ephemeral nodes are only deleted if the cumulative disconnection time exceeds the negotiated `sessionTimeout`.
  3. C They are temporarily renamed with a `.tmp` suffix and moved to a dedicated 'reclamation' Znode.
  4. D They are converted into persistent nodes to ensure high availability of the client's state during the outage.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions