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

Leader should stop accepting requests when disconnected from ZK

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: log
    • Labels:
      None

      Description

      When partition leader disconnected from zk, I think it should stop accepting requests, because another leader may be elected by kafkaController, if it continues to process the request, maybe lead to two leaders in the cluster(brain split), the result will depend on the acks and min.insync.replicas config, but I think the server should do something base on the partition replicas config.

      I have read the https://issues.apache.org/jira/browse/KAFKA-6173

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jacky0123 jacky
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: