Re: [controller-dev] many logs about log index out-of-sync


Tom Pantelis <tompantelis@...>
 



On Wed, Jan 9, 2019 at 4:17 AM Robert Varga <nite@...> wrote:
On 09/01/2019 01:41, Tom Pantelis wrote:
>     > Those messages can happen if a follower gets behind the leader,
>     especially if it gets isolated and AppendEntries
>     > messages from the leader get backed up and then the follower gets
>     a bunch of messages quickly when it reconnects to the
>     > leader. Looks like it eventually caught up to the leader although,
>     from the output, the distro you're testing with is
>     > missing https://git.opendaylight.org/gerrit/#/c/78929/ which
>     should speed up the sync process in that case and alleviate
>     > most of those messages.
>
>     Thanks Tom, makes sense then as this is on one controller that came
>     up last after
>     bouncing them all.
>
>
> yeah it eventually synced but it went down an inefficient path that
> resulted in 1176 messages from the leader to sync it. Actually that
> patch I mentioned above was for a different case and wouldn't help in
> this case. I have an idea where we can optimize it to eliminate those
> extra messages and make it faster. 

https://git.opendaylight.org/gerrit/79334 should help with that (sorry,
it got lost for a year).

yup - that's basically what I was going to do :)
 

Regards,
Robert

Join {integration-dev@lists.opendaylight.org to automatically receive all group messages.