You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/02/25 06:11:44 UTC

[GitHub] [kafka] hachikuji commented on pull request #11733: KAFKA-13587; Implement leader recovery for KIP-704

hachikuji commented on pull request #11733:
URL: https://github.com/apache/kafka/pull/11733#issuecomment-1050557349


   In regard to this [comment](https://github.com/apache/kafka/pull/11733#discussion_r814422959):
   
   > Unclean leader election is not possible when there is only one replica since the ISR set always equals the replica set. That means that if the replica is online then it will be elected as part of regular election and if it is offline the unclean leader election is a noop.
   
   Hmm, suppose we have a partition with replicas=(0) and isr=(0), but 0 is offline. The user chooses to reassign to node 1 and perform an unclean election to make it the leader. That would allow the reassignment to complete, but the partition state would be RECOVERING, right? How do we get out of that state?


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org