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)