kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shangan Chen <chenshangan...@gmail.com>
Subject Re: Adding replicas to existing topic cause data loss in some partitions
Date Tue, 11 Nov 2014 08:38:56 GMT
sorry, I didn't pay attention to these log. I did it by running a script in
the night, and received feedback in the morning, I found the server log
overflow by printing OutOfRange exception, so didn't catch any clue. I'll
take care next time. Anyway, thanks a lot.

On Mon, Nov 10, 2014 at 9:59 AM, Jun Rao <junrao@gmail.com> wrote:

> 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.
>
> Thanks,
>
> Jun
>
> On Thu, Nov 6, 2014 at 11:56 PM, Shangan Chen <chenshangan521@gmail.com>
> wrote:
>
> > 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
> >
>



-- 
have a good day!
chenshang'an

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