Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9876 Implement Raft Protocol for Metadata Quorum
  3. KAFKA-12373

Improve KafkaRaftClient handling of graceful shutdown

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • replication
    • None

    Description

      The current implementation simply closes the metrics group when it is closed.

      When closing the KafkaRaftClient that is the leader it should perform at least the following steps:

      1. Stop accepting new schedule append operations
      2. Append to the log the batches currently in the BatchAccumulator
      3. Wait with a timeout for the high-watermark to reach the LEO
      4. Cooperatively resign as leader from the quorum

      Attachments

        Activity

          People

            sagarrao Sagar Rao
            jsancio José Armando García Sancio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: