Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Upon restart, we should drop the corrupted part of the log and log. It will be replicated once again from the leader.

Fsync

Different levels of guarantees are possible:

...

More on all these options is later in the document. Considering statements above, we could have different fsync policies, not just “enabled/disabled”.

Resulting issues with the data

What happens when partition loses part of the log? It happens with manual peers/learners configuration updates or while losing part of the log. The most extreme case of it - total partition loss.

...