Jie Tong created KAFKA-1504: ------------------------------- Summary: Replica is unable to update ISR Key: KAFKA-1504 URL: https://issues.apache.org/jira/browse/KAFKA-1504 Project: Kafka Issue Type: Bug Components: controller Affects Versions: 0.8.1 Environment: Windows Server 2012; JDK 1.7.0 Reporter: Jie Tong Assignee: Neha Narkhede
We ran into this issue relatively frequent: replica cannot update ISR and thus fall out of the ISR and result in the # of replicas in ISR < replication factor. A restart of broker can mitigate the issue. Below is the error log: e,06/22/2014 20:29:20,Logging,kafka.utils.Logging$class,SrcFile="Logging.scala" SrcFunc="error" SrcLine="97" Pid="1952" Tid="8852" TS="0x01CF8E935200FDAF" String1="Conditional update of path /brokers/topics/RTUserCount/partitions/60/state with data {'controller_epoch':44,'leader':3690877,'version':1,'leader_epoch':110,'isr':[3690877]} and expected version 230 failed due to org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = BadVersion for /brokers/topics/RTUserCount/partitions/60/state" i,06/22/2014 20:29:20,Logging,kafka.utils.Logging$class,SrcFile="Logging.scala" SrcFunc="info" SrcLine="68" Pid="1952" Tid="8852" TS="0x01CF8E93520124BC" String1="Partition [RTUserCount,60] on broker 3690877: Cached zkVersion [230] not equal to that in zookeeper, skip updating ISR" -- This message was sent by Atlassian JIRA (v6.2#6252)