[tarantool-patches] Re: [PATCH] replication: fix bug with read-only replica as a bootstrap leader
vdavydov.dev at gmail.com
Wed Apr 18 13:34:26 MSK 2018
On Fri, Apr 13, 2018 at 03:38:46PM +0300, Vladimir Davydov wrote:
> On Fri, Apr 13, 2018 at 02:13:34PM +0300, Konstantin Belyavskiy wrote:
> > Please take a look at newer version.
> When you fix something like this, please include the new version of the
> patch in the email.
> The patch itself looks OK to me. Posting it here for the record.
> > From 983b98a91dcd70a3013de373b55294a6af468e17 Mon Sep 17 00:00:00 2001
> > From: Konstantin Belyavskiy <k.belyavskiy at tarantool.org>
> > Date: Mon, 9 Apr 2018 16:32:26 +0300
> > Subject: [PATCH] replication: fix bug with read-only replica as a bootstrap
> > leader
> > When bootstrapping a new cluster, each replica from replicaset can
> > be chosen as a leader, but if it is 'read-only', bootstrap will
> > failed with an error.
> > Fixed it by eliminating read-only replicas from voting by adding
> > access rights information to IPROTO_REQUEST_VOTE reply.
> > Closes #3257
Pushed to 1.9.
More information about the Tarantool-patches