[tarantool-patches] Re: [PATCH] replication: add is_orphan field to ballot

Serge Petrenko sergepetrenko at tarantool.org
Tue Oct 8 15:44:36 MSK 2019


Hi! Thanks for your reply.

> 8 окт. 2019 г., в 15:08, Konstantin Osipov <kostja at scylladb.com> написал(а):
> 
> * Serge Petrenko <sergepetrenko at tarantool.org> [19/09/30 20:56]:
> 
> Nice comment. 
> 
> the patch seems to be doing what the comment is saying.
> 
> Please test at least manually with an old replica.
> 
> 
> I don't think any version/capability checking is necessary, you do
> the right thing: if there is no orphan option in the ballot, we
> just assume that orphan is false.
> 
> This will work as before in mixed setup, and will prefer
> non-orphan leaders otherwise.
> 
> 
> -- 
> Konstantin Osipov, Moscow, Russia

Tested, works just as you described in mixed setup.

--
Serge Petrenko
sergepetrenko at tarantool.org





More information about the Tarantool-patches mailing list