Zeynep Arikoglu created KAFKA-5125:
--------------------------------------
Summary: controlled.shutdown.enable=true leads blocking some time
during shutdown when the broker is the only remaining broker
Key: KAFKA-5125
URL: https://issues.apache.org/jira/browse/KAFKA-5125
Project: Kafka
Issue Type: Bug
Components: controller
Affects Versions: 0.10.2.0, 0.10.1.1
Environment: Ubuntu 16
Reporter: Zeynep Arikoglu
Attachments: Stack dump.pdf
The documentation clearly states 'Note that controlled shutdown will only
succeed if all the partitions hosted on the broker have replicas' but
even if we have replication, when you try to shutdown the broker that is
serving as the only remaining broker for a partition, you will end up blocking
for some time if the controlled shutdown is set to true. Say we have two
brokers and our topics are replicated. When we shutdown the first one, it will
terminate gracefully with controlled shutdown set to true. When we shutdown the
second one, it will block and would have to be killed forcefully after a minute
or so.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)