Jason Gustafson created KAFKA-9348:
--------------------------------------

             Summary: Broker shutdown during controller initialization can lead 
to zombie broker
                 Key: KAFKA-9348
                 URL: https://issues.apache.org/jira/browse/KAFKA-9348
             Project: Kafka
          Issue Type: Bug
            Reporter: Jason Gustafson


It is possible that a broker may be shutdown while it is in the process of 
becoming the controller. There is no protection currently to ensure that 
initialization doesn't interfere with shutdown. An example of this is the 
shutdown of the controller channel manager. It is possible that the request 
send threads are restarted by the initialization logic _after_ the shutdown 
method has returned. In this case, there will be no call to `initiateShutdown` 
on any newly created send threads which will leave the shutdown hook hanging.



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

Reply via email to