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

Broker can not return to ISR because of BadVersionException

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.8.1
    • Fix Version/s: None
    • Component/s: controller
    • Labels:
      None

      Description

      Each morning we found a broker out of ISR at stuck with log full of messages:

      INFO   | jvm 1    | 2014/04/21 08:36:21 | [2014-04-21 09:36:21,907] ERROR Conditional update of path /brokers/topics/topic2/partitions/1/state with data {"controller_epoch":46,"leader":2,"version":1,"leader_epoch":38,"isr":[2]} and expected version 53 failed due to org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = BadVersion for /brokers/topics/topic2/partitions/1/state (kafka.utils.ZkUtils$)
      INFO   | jvm 1    | 2014/04/21 08:36:21 | [2014-04-21 09:36:21,907] INFO Partition [topic2,1] on broker 2: Cached zkVersion [53] not equal to that in zookeeper, skip updating ISR (kafka.cluster.Partition)
      

      It seems that it can not recover after short netwrok break down and the only way to return it is restart it using kill -9.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nehanarkhede Neha Narkhede
                Reporter:
                dmitrybugaychenko Dmitry Bugaychenko
              • Votes:
                13 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated: