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 D0C88711B5; Wed, 27 Oct 2021 10:20:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D0C88711B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1635319252; bh=ZYukrfSbHxNC+iV2MoQ6jxs5LIVisXkjcw8jpoFoDsA=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=uMExZSWYKQgDU8D+FlN3ZvSjt7OGBAei/4puJrFha9idYKTkcvTlysB0i3twyaXvZ uWL7668w4loHRvl6AOS1/ddozE+WCZlt6aJmXDkMmELXqoFOXHqfCRpGJzqC17sZut jJEvrhiL4VmXaQugMvxNjB0yRXEdG9TYJtAUAQ+Q= Received: from smtp59.i.mail.ru (smtp59.i.mail.ru [217.69.128.39]) (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 4809070C8D for ; Wed, 27 Oct 2021 10:20:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4809070C8D Received: by smtp59.i.mail.ru with esmtpa (envelope-from ) id 1mfdEu-00017C-R2; Wed, 27 Oct 2021 10:20:49 +0300 To: kyukhin@tarantool.org, v.ioffe@tarantool.org Date: Wed, 27 Oct 2021 10:20:42 +0300 Message-Id: X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9D1D35DBD2D15487EB9438C392F7C4E68414DBB3B161A4FBD182A05F5380850405F8815B5C7FF4FE8B089CAAC5960EBBB8684057F7C885A1152A311CF36874BCC X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7C2204D4F9A221771EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637188F5654332B449D8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8F8D4021E96E76DE025CBA1B6516E6125117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC3A703B70628EAD7BA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735201E561CDFBCA1751F618001F51B5FD3F9D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EEC8105B04EFE076288F49F126DDB898E8D8FC6C240DEA7642DBF02ECDB25306B2B78CF848AE20165D0A6AB1C7CE11FEE3F8BD4E506CFA3D886136E347CC761E07C4224003CC836476EA7A3FFF5B025636E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F79006377870F476E0DB9443EFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C2749EEF4D85F8CCA37E297CE1B7FA54352B8378ABAB588269C2B6934AE262D3EE7EAB7254005DCEDB7D9652AEFDB19A31E0A4E2319210D9B64D260DF9561598F01A9E91200F654B068F972559010CA1C8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D344E332383F80D58BB54DD32AA66063011DD5D7DD11E9E781C2C3E2B37B6410BF6AAD4FBBF5C5C9C821D7E09C32AA3244C3886586BF8E5157C28AFAA936532154297FE24653F78E668927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXiJJDvY4Pk42kUgZHo5n71S X-Mailru-Sender: 11C2EC085EDE56FA38FD4C59F7EFE407D5DA1D59F8824E75F39B6BBD92D22FD175CC7DFD18A666026BB2E709EA627F343C7DDD459B58856F0E45BC603594F5A135B915D4279FF0579437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [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 Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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 -- 2.30.1 (Apple Git-130)