Versions Compared

Key

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

...

When a follower replica needs to fetch the earliest messages that are to be replicated then it sends a request with the target timestamp as EARLIEST_LOCAL_TIMESTAMP. 

...

  1. The controller publishes delete_partition_marked event to say that the partition is marked for deletion. There can be multiple events published when the controller restarts or failover and this event will be deduplicated by RLC. 
  2. RLC receives the delete_partition_marked and processes it if it is not yet processed earlier.
  3. RLC publishes an event delete_partition_started that indicates the partition deletion has already been started. 
  4. RLC gets all the remote log segments for the partition and each of these remote log segments is deleted with the next steps.
  5. Publish delete_segment_started event with the segment id. 
  6. RLC deletes the segment using RSM 
  7. Publish delete_segment_finished event with segment id once it is successful. 
  8. Publish delete_partition_finished once all the segments have been deleted successfully.

Protocol Changes

ListOffsets

Currently, it supports the listing of offsets based on the earliest timestamp and the latest timestamp of the complete log. There is no change in the protocol but the new versions will start supporting listing earliest offsets based on the local logs but not only on the complete log including remote log. This protocol will be updated with the changes from KIP-516 but there are no changes required as mentioned earlier. Request and response versions will be bumped to version 7.

Public Interfaces

Compacted topics will not have remote storage support. 

...