Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4083

ReassignPartitionsCommand does not check replication factor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 0.8.2.0, 0.9.0.0, 0.10.0.0
    • None
    • admin, core
    • Linux 14.04 LTS, Scala 2.10
    • Patch

    Description

      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 replicas. 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.

      Attachments

        Activity

          People

            swwl1992 Simon Wan Wenli
            swwl1992 Simon Wan Wenli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified