Versions Compared

Key

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

...

The below diagram gives a brief overview of the interaction between leader, follower, and remote log and metadata storages. It will be described more in detail in the next section.

Image Modified

  1. Leader copies log segments with the auxiliary state(includes leader epoch cache and producer-id snapshots) to remote storage.
  2. Leader publishes remote log segment metadata about the copied remote log segment, 
  3. Follower tries to fetch the messages from the leader and follows the protocol mentioned in detail in the next section. 
  4. Follower waits till it catches up consuming the required remote log segment metadata.
  5. Follower fetches the respective remote log segment metadata to build auxiliary state.

...