Versions Compared

Key

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

...

Remote Log Segment Metadata State transitions

Image Modified

Leader broker copies the log segments to the remote storage and puts the remote log segment metadata with the state as “COPY_STARTED” and updates the state as “COPY_FINISHED” once the copy is successful. Leaders also remove the remote log segments based on the retention policy. Before the log segment is removed using RSM.deleteLogSegment(RemoteLogSegmentMetadata remoteLogSegmentMetadata), it updates the remote log segment with the state as DELETE_STARTED and it updates with DELETE_FINISHED once it is successful.

...