Search Hadoop and all its sub project:

Switch to Threaded View
Subject: Re: Data loss in case of request.required.acks set to -1
On Tue, Dec 24, 2013 at 12:52 AM, Guozhang Wang <[EMAIL PROTECTED]> wrote:
*When i am creating the topic in that case then their leadership is evenly
distributed to two brokers as you said. And yes one important thing is that
when their leadership is evenly distributed to two brokers(lets say
broker-0 is leader of partition 1 and broker-1 is leader of partition 0)
the there is NO DATA LOSS. But my scenario is occurring if i restart any
one node after topic created,Because there is only one live broker for
sometime so that live broker becomes leader for both nodes.*
*Yes, i have tried that after broker-0 was restarted wait for sometime so
that *it comes into isr list. Checked the isr status which is:
*Thanks & Regards*
*Hanish Bansal*

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB