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 A3E5070294; Sat, 4 Dec 2021 03:19:41 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A3E5070294 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1638577181; bh=fGOAT/PuOCdxG2El1skJB4YhGuH9RuNMQCeiUdjtdt0=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=RKJuyvpNRtVcNO0/pYdTVgac3+M/MvEqKKC4vvvaUI1easIKdzpmdWHZMdE36wn9x 2m1PGNLnX3DZuiNfFZTGQ6MuIVhzex6pAUfJYeDk1IKaMPJXkw8suyo2/SaG7A1Bxr vzuLp+dvGB/kMNCZWlwl5YtU4Hj2Du+zm+NuLFLU= Received: from smtpng1.i.mail.ru (smtpng1.i.mail.ru [94.100.181.251]) (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 4088D70150 for ; Sat, 4 Dec 2021 03:19:40 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4088D70150 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1mtImB-0003OJ-Dp; Sat, 04 Dec 2021 03:19:39 +0300 To: tarantool-patches@dev.tarantool.org, olegrok@tarantool.org Date: Sat, 4 Dec 2021 01:19:36 +0100 Message-Id: X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD93822B471089FF64D020547DF80E0E2B523C3AE0257FC2E8F182A05F53808504093952F1B71B7F3117322DE041138458433441B7E76E7B2CA00F002BC6755A4E9 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE73B44982FA5E78411EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637F9CBC1404CDFA5A08638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D89091F46A71FD72BB45D6DCCB986FC5A5117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC2EE5AD8F952D28FBA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18618001F51B5FD3F9D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B62CFFCC7B69C47339089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C1116EF429256F3B4D1534483AE67CCCF5323C75B73F9B8949C2B6934AE262D3EE7EAB7254005DCEDB83465427F80716C1E0A4E2319210D9B64D260DF9561598F01A9E91200F654B01098AAFFB0A1231D8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3453037B5638665721AC8CB76570DC85416E86C7DF89730417C0B22750E469C689B4553A769E062DD61D7E09C32AA3244C03F2193D606440C3CEC9F4F01F1FA27C8894E9C85370243E729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXjIHcAPo+PxxOlt/IVqedc2 X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5DE2224D87C4D6099C7F17FCE4F2F341333841015FED1DE5223CC9A89AB576DD93FB559BB5D741EB963CF37A108A312F5C27E8A8C3839CE0E25FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: [Tarantool-patches] [PATCH vshard 0/2] VShard replica backoff, part 1 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: Vladislav Shpilevoy via Tarantool-patches Reply-To: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" The patchset makes a couple of changes needed to properly implement replica backoff feature. However they are useful regardless of the backoff, so I am sending them right away. Branch: http://github.com/tarantool/vshard/tree/gerold103/gh-298-replica-backoff-part-1 Issue: https://github.com/tarantool/vshard/issues/298 Vladislav Shpilevoy (2): router: drop wait_connected from master discovery router: don't fallback RO to master right away test/failover/failover.result | 64 +++++++++++++------ test/failover/failover.test.lua | 30 +++++---- test/router/master_discovery.result | 92 +++++++++++++++++++++++---- test/router/master_discovery.test.lua | 38 ++++++++--- vshard/replicaset.lua | 27 ++++---- 5 files changed, 186 insertions(+), 65 deletions(-) -- 2.24.3 (Apple Git-128)