You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2021/08/05 16:54:00 UTC

[jira] [Resolved] (KAFKA-13167) KRaft broker should heartbeat immediately during controlled shutdown

     [ https://issues.apache.org/jira/browse/KAFKA-13167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Gustafson resolved KAFKA-13167.
-------------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

> KRaft broker should heartbeat immediately during controlled shutdown
> --------------------------------------------------------------------
>
>                 Key: KAFKA-13167
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13167
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Controlled shutdown in KRaft is signaled through a heartbeat request with the `shouldShutDown` flag set to true. When we begin controlled shutdown, we should immediately schedule the next heartbeat instead of waiting for the next periodic heartbeat so that we can shutdown more quickly. Otherwise controlled shutdown can be delayed by several seconds.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)