Hi Stas, Thank you for reporting this. Can you please file an issue? Even if KAFKA-5793 has fixed it for 1.0.0 (which needs to be verified), we should consider whether a fix is needed for the 0.11.0 branch as well.
Ismael On Mon, Oct 2, 2017 at 11:28 AM, Stas Chizhov <schiz...@gmail.com> wrote: > Hi, > > We run 0.11.01 and there was a problem with 1 ReplicationFetcher on one of > the brokers - it experience out of order sequence problem for one > topic/partition and was stopped. It stayed stopped over the weekend. During > this time log cleanup was working and by now it has cleaned up all the data > in the partitions that this fetcher was responsible for - including other > partitions that didnt have out of order sequence problem at first place. It > is not completely clear to me why this initial problem occurred, but at > this moment there is a borker with no data for few partitions and > replication fetcher fails upon restart with > "org.apache.kafka.common.errors.OutOfOrderSequenceException: Invalid > sequence number for new epoch: 0 (request epoch), 154277489 (seq. > number)". I believe this is > https://issues.apache.org/jira/browse/KAFKA-5793. > However I wonder what is the easiest way of bringing this replicas back > online? > > Best regards, > Stanislav. >