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

Broker topic metadata not kept in sync with ZooKeeper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0, 0.8.1
    • 0.9.0.0
    • None

    Description

      When a broker is restarted, the topic metadata responses from the brokers will be incorrect (different from ZooKeeper) until a preferred replica leader election.

      In the metadata, it looks like leaders are correctly removed from the ISR when a broker disappears, but followers are not. Then, when a broker reappears, the ISR is never updated.

      I used a variation of the Vagrant setup created by Joe Stein to reproduce this with latest from the 0.8.1 branch: https://github.com/also/kafka/commit/dba36a503a5e22ea039df0f9852560b4fb1e067c

      Attachments

        1. KAFKA-1367.txt
          3 kB
          Ryan Berdeen
        2. KAFKA-1367.patch
          10 kB
          Ashish Singh
        3. KAFKA-1367_2015-07-06_22:04:06.patch
          16 kB
          Ashish Singh
        4. KAFKA-1367_2015-07-01_17:23:14.patch
          15 kB
          Ashish Singh

        Issue Links

          Activity

            People

              singhashish Ashish Singh
              rberdeen Ryan Berdeen
              Votes:
              5 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: