You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jose Armando Garcia Sancio (Jira)" <ji...@apache.org> on 2021/02/24 20:27:00 UTC
[jira] [Updated] (KAFKA-12373) Improve KafkaRaftClient handling of
graceful shutdown
[ https://issues.apache.org/jira/browse/KAFKA-12373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jose Armando Garcia Sancio updated KAFKA-12373:
-----------------------------------------------
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:
# Stop accepting new schedule append operations
# Append to the log the batches currently in the BatchAccumulator
# Wait with a timeout for the high-watermark to reach the LEO
# Cooperatively resign as leader from the quorum
was:
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:
# Stop accepting new schedule append operations
# Append to the log batches currently in the BatchAccumulator
# Wait with a timeout for the high-watermark to reach the LEO
# Cooperatively resign as leader from the quorum
> Improve KafkaRaftClient handling of graceful shutdown
> -----------------------------------------------------
>
> Key: KAFKA-12373
> URL: https://issues.apache.org/jira/browse/KAFKA-12373
> Project: Kafka
> Issue Type: Sub-task
> Components: replication
> Reporter: Jose Armando Garcia Sancio
> Priority: Major
>
> 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:
> # Stop accepting new schedule append operations
> # Append to the log the batches currently in the BatchAccumulator
> # Wait with a timeout for the high-watermark to reach the LEO
> # Cooperatively resign as leader from the quorum
--
This message was sent by Atlassian Jira
(v8.3.4#803005)