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 8723C74143; Thu, 30 Sep 2021 22:17:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 8723C74143 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1633029465; bh=ZbKyzflMq5X5A1DDdbaOSiuftKRmhWKeNVJh3gWgxKE=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=ZoXA+egpHHF3vbDX6ZitsX7X9tG6rkqGSUy4MkLVM1lBxRMS0y9LczVmXB+qOPFPN k6Y0rduNctX7rb8m4UObjmaSL4Y7hc7qAEL+bDbZHBPNCO3HyUwlyzPgC2rl7ybhpz CLQoOAwNmbEW/tH7Zy0G8nPcmCP1e1j2HK2bPWzA= Received: from smtp55.i.mail.ru (smtp55.i.mail.ru [217.69.128.35]) (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 3273B74141 for ; Thu, 30 Sep 2021 22:17:43 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3273B74141 Received: by smtp55.i.mail.ru with esmtpa (envelope-from ) id 1mW1Ys-0008Hc-4v; Thu, 30 Sep 2021 22:17:42 +0300 To: v.shpilevoy@tarantool.org, gorcunov@gmail.com Date: Thu, 30 Sep 2021 22:17:38 +0300 Message-Id: X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD96A58C36AA2E99649BF631F26B0465AFD0E15652C7D51B98D182A05F5380850407CBE028D766069719EEA5C331611F31E4F8C95A0C3B859479BD8D6025CD31DBF X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7F65C230EDDCD559EEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006377CC130305260E47D8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D80EF3B4F94F378AE4D61A1DB3C9398374117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC60CDF180582EB8FBA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD186FD1C55BDD38FC3FD2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EEC8105B04EFE076283D5BA627BF9F2FCFD8FC6C240DEA7642DBF02ECDB25306B2B78CF848AE20165D0A6AB1C7CE11FEE3093C2F12201C912AC0837EA9F3D19764C4224003CC836476EA7A3FFF5B025636E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F790063757B1FBEA53BC6EDBEFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A213B5FB47DCBC3458834459D11680B50517E5D529FE1D7C987FB9306FCC5788A6 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CBBB17C150BCA6793D0F92EFEBE9A3041989815B3B499B9739C2B6934AE262D3EE7EAB7254005DCED5177E3BD826A77771E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0CCA28C6D779E2CD78E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3444047AE358B407540AC581ABB7A62DF97421B779A8225C19D909DAD4915676FA7DE122B1C649529F1D7E09C32AA3244C62850AA7094FB8484077A0503651ED8E60759606DA2E136A927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojJNmX3owDPmHz0y8l6Mmkwg== X-Mailru-Sender: 583F1D7ACE8F49BD8518EAAA0E4F94F1BE42B18A631A566EA323CB5D0D22D793E3FC19550338E43D424AE0EB1F3D1D21E2978F233C3FAE6EE63DB1732555E4A8EE80603BA4A5B0BC112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: [Tarantool-patches] [PATCH 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 Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" The patchset is based on branch VitaliyaIoffe/testrun-304-provide-first-luatest, because I've written a luatest-based test. https://github.com/tarantool/tarantool/issues/4669 https://github.com/tarantool/tarantool/tree/sp/gh-4669-replication-reconnect 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 | 8 ++- src/box/replication.cc | 41 ++++++++---- src/box/replication.h | 4 +- test/instance_files/base_instance.lua | 3 +- test/instance_files/replica.lua | 17 +++++ test/luatest_helpers/server.lua | 64 +++++++++++++++++++ .../gh_4669_applier_reconnect_test.lua | 42 ++++++++++++ 8 files changed, 167 insertions(+), 17 deletions(-) create mode 100644 changelogs/unreleased/gh-4669-applier-reconfig-reconnect.md create mode 100755 test/instance_files/replica.lua create mode 100644 test/replication-luatest/gh_4669_applier_reconnect_test.lua -- 2.30.1 (Apple Git-130)