kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanislav Kozlovski (Jira)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-8923) Revisit OnlineReplica state change in reassignments
Date Wed, 18 Sep 2019 19:38:00 GMT
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)

Mime
View raw message