Versions Compared

Key

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

...

When shipping a log segment to remote storage, the leader broker will store the leader epoch sequence and producer id snapshot up to the end of the segment into the same remote directory (or the same remote object key prefix). These data can be used by the followers to rebuild the leader epoch sequences and producer id snapshots when needed.

Image Modified

So, we need to add a respective ReplicaState for building auxiliary state which can be called `BuildingRemoteLogAux`. Fetcher thread processes this state also in every run like it does for Fetching and Truncating states.

...