From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 18 Apr 2018 13:33:56 +0300 From: Vladimir Davydov Subject: Re: [PATCH] replication: fix broken cases with quorum=0 Message-ID: <20180418103356.akdt6vi7v2a64slf@esperanza> References: <20180417140726.91732-1-k.belyavskiy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180417140726.91732-1-k.belyavskiy@tarantool.org> To: Konstantin Belyavskiy Cc: georgy@tarantool.org, tarantool-patches@freelists.org List-ID: On Tue, Apr 17, 2018 at 05:07:26PM +0300, Konstantin Belyavskiy wrote: > Ticket: https://github.com/tarantool/tarantool/issues/3278 > branch: https://github.com/tarantool/tarantool/compare/gh-3278-quorum-fix > > This commit is related with 6d81fa99 > With replication_connect_quorum=0 set, previous commit broke replication > since skip applier_resume() and applier_start() parts. > Fix it and add more test cases. > > Close #3278 > --- > src/box/replication.cc | 13 +++-- > test/replication/master_quorum.lua | 33 +++++++++++++ > test/replication/master_quorum1.lua | 1 + > test/replication/master_quorum2.lua | 1 + > test/replication/quorum.result | 98 ++++++++++++++++++++++++++++++++++++- > test/replication/quorum.test.lua | 33 ++++++++++++- > 6 files changed, 173 insertions(+), 6 deletions(-) > create mode 100644 test/replication/master_quorum.lua > create mode 120000 test/replication/master_quorum1.lua > create mode 120000 test/replication/master_quorum2.lua Pushed to 1.9.