kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Adding replicas to existing topic cause data loss in some partitions
Date Mon, 10 Nov 2014 01:59:27 GMT
Any error in the controller/state-change log when you increased the
replication factor? If you describe those topics, are both replicas in ISR?
The answers to those questions will help us understand whether this is a
broker side or consumer-side issue.



On Thu, Nov 6, 2014 at 11:56 PM, Shangan Chen <chenshangan521@gmail.com>

> I have a kafka cluster, every topic in it has only one replica. Recently I
> extend every topic with 2 replicas. Most topics work fine, but some large
> topics have some problems with part of partitions. Consumer throw offset
> OutOfRange exception, the fact is consumer request offset is bigger than
> the latest offset. I doubt there is some bug with the tool which can add
> replicas to existing topic.
> I add replicas by the following  guide:
> http://kafka.apache.org/081/documentation.html#basic_ops_increase_replication_factor
> Does anyone  face the same problem before and can figure out how to avoid
> this ?
> --
> have a good day!
> chenshang'an

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message