All Questions
Elasticsearch hard

Changing `index.translog.durability` from `request` to `async` can drastically increase indexing WPS (Writes Per Second). What is the specific data loss risk (RPO)?

  1. A The index mapping will become corrupted if the node restarts unexpectedly.
  2. B You risk losing any writes acknowledged within the last `sync_interval` (default 5 seconds) if the server hardware fails or loses power before the in-memory buffer is flushed to disk via fsync.
  3. C Replicas will stop receiving updates, causing the cluster to enter a 'Red' status.
  4. D The JVM will disable the G1 Garbage Collector to prioritize disk I/O threads.

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

Get the app

Related questions