For example:I have brokers: 1,2,3,4,5. I create a new topic by command: `sh kafka-topics.sh --create --topic replicaserror --zookeeper localhost:2181 --replica-assignment 11:12:13,12:13:14,14:15:11,14:12:11,13:14:11 ` Then kafkaController will process this,after partitionStateMachine and replicaStateMachine handle state change,topic metadatas and state will be strange,partitions is on NewPartition and replicas is on OnlineReplica. Next wo can not delete this topic(bacase state change illegal ),This will cause a number of problems.So i think wo shoud check replicas assignment when create or update topic.
[ Full content available at: https://github.com/apache/kafka/pull/5615 ] This message was relayed via gitbox.apache.org for [email protected]
