Versions Compared

Key

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

...

When the log is truncated, because the offset in the time index is also monotonically increasing, we will also truncate the time index entries whose corresponding messages have been truncated. The active segment will reload the largest timestamp after truncation just like it did during startup.

...