Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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.