Stanislav Kozlovski created KAFKA-8923:
------------------------------------------

             Summary: Revisit OnlineReplica state change in reassignments
                 Key: KAFKA-8923
                 URL: https://issues.apache.org/jira/browse/KAFKA-8923
             Project: Kafka
          Issue Type: Improvement
            Reporter: Stanislav Kozlovski


In the replica state machine, when switching a partition to an OnlineReplica, 
we conditionally send a LeaderAndIsr request when the partition is available in 
the `partitionLeadershipInfo` structure. This happens when we switch states 
during a partition reassignment. It does not happen when a partition is created 
for the first time, as it is not present inĀ `partitionLeadershipInfo` at that 
time


This is a bit weird, because an OnlineReplica implies that the replica is 
alive, not necessarily in the ISR.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to