Re: Questions re: partition reassignment

2014-09-24 Thread Neha Narkhede
Okay, so just to clarify, if I have a partition where the leader is broker 0, the ISR is [0, 1] and I make a partition reassignment with a new AR list of [1, 0], broker 1 won't take over leadership? I was under the impression that the "preferred" replica would become the leader, and that that would

Re: Questions re: partition reassignment

2014-09-22 Thread Mathias Söderberg
> > Partition reassignment will not move the leader unless the old leader is > not part of the new set of replicas. > Even when it does move the leader, it waits until the new replicas enter > the ISR. Okay, so just to clarify, if I have a partition where the leader is broker 0, the ISR is [0, 1]

Re: Questions re: partition reassignment

2014-09-22 Thread Neha Narkhede
My current interpretation is that if I start a partition reassignment, for the sake of simplicity let's assume it's just for a single partition, the new leader will first become a follower of the current leader, and when it has caught up it'll transfer leadership over to itself? Partition reassign

Questions re: partition reassignment

2014-09-21 Thread Mathias Söderberg
Good day, We're currently running a Kafka cluster in our staging environment, testing everything out and so far it runs fairly smoothly. One thing that we're currently looking into is scaling a cluster that is already up 'n serving data, and I have some questions regarding moving partitions betwe