Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8923

Revisit OnlineReplica state change in reassignments

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            enether Stanislav Kozlovski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: