jsancio commented on a change in pull request #11733: URL: https://github.com/apache/kafka/pull/11733#discussion_r813998423
########## File path: core/src/test/scala/unit/kafka/cluster/PartitionTest.scala ########## @@ -2015,6 +2067,8 @@ class PartitionTest extends AbstractPartitionTest { verify(spyConfigRepository, times(2)).topicConfig(topicPartition.topic()) } + // TODO: Add a test that shows that the follower rejects reads until a recovered leader and isr Review comment: Added two tests: 1. Show that going from online to offline to online preserves the leader recovery state 2. Show that performing an unclean leader election set the leader recovery state to RECOVERING -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org