From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 62AF271218; Wed, 27 Oct 2021 10:40:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 62AF271218 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1635320425; bh=EGTOfCmLMrIQB0WQTMvA1Adays1WqXPQPASGrnnm7ww=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=r4pj7euZK3rMIlyXqIU+SpIexAcCzWWEAEXFcT+wRHm2ADPLTmv0qBGeRyhsz6ral fxscxIDBSpUHY72H1ykTaqIUGhx1GUCTITW+8vsg1/Y+3+PZs5S0Xo+j6wKDSYasl1 GQoZjRspPn1EyTVWq/azzAM/LhgzZvFpkgRO6vaw= Received: from smtp36.i.mail.ru (smtp36.i.mail.ru [94.100.177.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 4500F711B5 for ; Wed, 27 Oct 2021 10:40:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4500F711B5 Received: by smtp36.i.mail.ru with esmtpa (envelope-from ) id 1mfdXr-0003gt-7f; Wed, 27 Oct 2021 10:40:23 +0300 Message-ID: <39e7df8e-e45e-2e4f-fe90-747e9b369ea9@tarantool.org> Date: Wed, 27 Oct 2021 10:40:22 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Content-Language: en-GB To: kyukhin@tarantool.org, v.ioffe@tarantool.org Cc: tarantool-patches@dev.tarantool.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9D1D35DBD2D15487E95B7EC5918E2245194B7D4D1C7EDE589182A05F5380850409136C25EDF87669EF2C1357FF460D5EB7B67A3E5AB88666CB4A141AA88F7E734 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE712EB008F780777E9EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006379428F6EA0D091379EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BBCA57AF85F7723F2A1F8DEFDB03FE2E1D87AE9581DBF3B46CC7F00164DA146DAFE8445B8C89999728AA50765F790063783E00425F71A4181389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC82FFDA4F57982C5F4F6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947CA0BCD6C998BE27729735652A29929C6C4AD6D5ED66289B52698AB9A7B718F8C46E0066C2D8992A16725E5C173C3A84C3F7ED4D6813B5CA0476E601842F6C81A1F004C906525384307823802FF610243DF43C7A68FF6260569E8FC8737B5C2249EC8D19AE6D49635B68655334FD4449CB9ECD01F8117BC8BEAAAE862A0553A39223F8577A6DFFEA7C5351985B4A98E2A443847C11F186F3C59DAA53EE0834AAEE X-C1DE0DAB: 0D63561A33F958A57A40C419E426B9946D953AEBC484A2A8CE438E297A6ABE43D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA752DA3D96DA0CEF5C48E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34AE88D5ADEBE7C9832A8CE1008AEE004AEF4A42281666BF57EB7A05776AABCE6C82AE6075D29C43261D7E09C32AA3244C66AF160AF6EB2EA8C552BEE8FF8110A71DD47778AE04E04DFACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojOHwMx23X6B1u5r3gSywgvg== X-Mailru-Sender: 11C2EC085EDE56FA38FD4C59F7EFE407B6E9626443036EEB46668677D394B5D8412F8A0522FDBC556BB2E709EA627F343C7DDD459B58856F0E45BC603594F5A135B915D4279FF0579437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v3 0/2] replication: fix reconnect on box.cfg.replication change X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Serge Petrenko via Tarantool-patches Reply-To: Serge Petrenko Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 27.10.2021 10:20, Serge Petrenko пишет: > Hi! I've rebased the patchset on top of the current master (with luatest) > and reworked the test a bit. > > Vitaliya, please, take a look at the new test. > > Serge Petrenko (2): > replicaiton: make anon replica connect to quorum upon reconfiguration > replication: fix replica disconnect upon reconfiguration > > .../gh-4669-applier-reconfig-reconnect.md | 5 ++ > src/box/box.cc | 31 ++++++++--- > src/box/replication.cc | 41 +++++++++----- > src/box/replication.h | 4 +- > .../gh_4669_applier_reconnect_test.lua | 53 +++++++++++++++++++ > 5 files changed, 113 insertions(+), 21 deletions(-) > create mode 100644 changelogs/unreleased/gh-4669-applier-reconfig-reconnect.md > create mode 100644 test/replication-luatest/gh_4669_applier_reconnect_test.lua > Sorry, forgot to attach issue and branch: https://github.com/tarantool/tarantool/tree/sp/gh-4669-replication-reconnect https://github.com/tarantool/tarantool/issues/4669 -- Serge Petrenko