Jason Gustafson created KAFKA-13167:
---------------------------------------

             Summary: 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


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)

Reply via email to