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

Broker topic metadata not kept in sync with ZooKeeper

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0, 0.8.1
    • Fix Version/s: 0.9.0.0
    • Component/s: None
    • Labels:

      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

              • Assignee:
                singhashish Ashish Singh
                Reporter:
                rberdeen Ryan Berdeen
              • Votes:
                5 Vote for this issue
                Watchers:
                28 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: