Versions Compared

Key

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

...

Until the next leader epoch, the partition would remain in the failedPartitions set. At the leader epoch, the failed partitions would be removed from fetcherLagStats and partitionStates, and would be marked as un-failed by removing from the set for failed partitions. Hereafter, the controller can choose the partition as leader or follower and would follow the usual behavior.Since the two replica fetchers (ReplicaFetcherThread and ReplicaAlterLogDirsThread) are quite similar in behavior and are extended from the same class, probably should not make one deviate much from the other.

This logic will be implemented in AbstractFetcherThread so that it applies to both replica and log dir fetchers

Some other potential problems that can be addressed - 

...