You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Nitzan Harel <ni...@jivesoftware.com> on 2013/12/03 01:23:21 UTC

Controlled shutdown and "UnderReplicatedPartitions" state?

The default value for "controlled.shutdown.enable" is false.
Does that mean that stopping a broker without a controlled shutdown and using a "kill ?9" might lead to an under "UnderReplicatedPartitions" state?

Re: Controlled shutdown and "UnderReplicatedPartitions" state?

Posted by Guozhang Wang <wa...@gmail.com>.
Using "controlled shut down" means Kafka will try first to migrate the
partition leaderships from the broker being shut down before really shut it
down so that the partitions will not be unavailable. Disabling it would
mean that during the time when the broker is done until the controller
noticed it and make other brokers leader of the partitions this broker
originally holds as leader, these partitions will be unavailable, hence
there will be an unavailability window.

More details, you can search "controlled.shutdown.enable" in

https://kafka.apache.org/documentation.html#brokerconfigs


On Mon, Dec 2, 2013 at 4:23 PM, Nitzan Harel
<ni...@jivesoftware.com>wrote:

> The default value for "controlled.shutdown.enable" is false.
> Does that mean that stopping a broker without a controlled shutdown and
> using a "kill ?9" might lead to an under "UnderReplicatedPartitions" state?
>



-- 
-- Guozhang