All Questions
Zookeeper hard

ZooKeeper utilizes 'Fuzzy Snapshots' to avoid locking the Znode tree during backups. How does the system handle data inconstancies that occur when a node is modified *while* a snapshot is being written to disk?

  1. A By pausing the Leader node's ZAB pipeline for the entire duration of the disk I/O operation.
  2. B By utilizing a filesystem-level Copy-on-Write (CoW) mechanism to isolate the in-memory heap.
  3. C By replaying the Transaction Log (WAL) starting from the point *before* the snapshot began to reach a consistent, globally ordered state.
  4. D By forcing the client to verify the cryptographic hash of the Znode metadata before every read request following a snapshot.

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

Get the app

Related questions