Simon Wan Wenli created KAFKA-4083:
--------------------------------------

             Summary: ReassignPartitionsCommand does not check replication 
factor
                 Key: KAFKA-4083
                 URL: https://issues.apache.org/jira/browse/KAFKA-4083
             Project: Kafka
          Issue Type: Bug
          Components: admin, core
    Affects Versions: 0.10.0.0, 0.9.0.0, 0.8.2.0
         Environment: Linux 14.04 LTS
            Reporter: Simon Wan Wenli
            Assignee: Simon Wan Wenli
            Priority: Minor
             Fix For: 0.10.0.0, 0.9.0.0, 0.8.2.0


ReassignPartitionsCommand does not check whether the replication factor of a 
partition is the same as existing replication factor, which may result that 
different partitions of a topic have different number of partitions. More 
specifically, TopicCommand will throw exception which contains "All partitions 
should have the same number of replicas." as the message when the user tries to 
add partitions. I think this loophole also may leave Kafka in a situation from 
which it is difficult to recover.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to