You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Onur Karaman (JIRA)" <ji...@apache.org> on 2016/11/15 08:43:58 UTC
[jira] [Created] (KAFKA-4410) KafkaController sends double the
expected number of StopReplicaRequests during controlled shutdown
Onur Karaman created KAFKA-4410:
-----------------------------------
Summary: KafkaController sends double the expected number of StopReplicaRequests during controlled shutdown
Key: KAFKA-4410
URL: https://issues.apache.org/jira/browse/KAFKA-4410
Project: Kafka
Issue Type: Bug
Reporter: Onur Karaman
Assignee: Onur Karaman
We expect KafkaController to send one StopReplicaRequest for each follower replica on the broker undergoing controlled shutdown. Examining KafkaController.shutdownBroker, we see that this is not the case:
1. KafkaController.shutdownBroker itself sends a StopReplicaRequest for each follower replica
2. KafkaController.shutdownBroker transitions every follower replica to OfflineReplica in its call to replicaStateMachine.handleStateChanges, which also sends a StopReplicaRequest.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)