Versions Compared

Key

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

...

A mirror leader partition begins with an unknown source leader epoch. When it sends Fetch requests to the source cluster, the source leader may respond with a FencedLeaderEpochException. When such an error occurs, the mirror fetcher extracts the current source leader epoch from the error response and updates its internal fetch state to track the source cluster's actual leader epoch.  The last fetched epoch is always set to empty to disable log divergence checks due to unclean leader election (see non-goals section).

Image Modified

Figure 4: Mirror Leader Fetch State.

...