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 69F436ECE3; Tue, 18 Jan 2022 01:57:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 69F436ECE3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1642460245; bh=CfnjfFA/erBrrESZXB/ALPYIYUPs+QzA6aPmAaMNm9w=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=M0IodkEBHv2pxULIuPkWVZq52wsSULvxUa1uMf66XK3TjXzzCV3bx/OZa0uEwMNGv UwIIFSnqMtUf+eTJHvob63cA/ftwVXGNu25zkdpF6IU69zLSE/0aPlokdrtUIK5ZDv R3mSUjM2GcfZ2Yq9Lsg/Lhov2mvFv0eYICnG5CDo= Received: from smtp44.i.mail.ru (smtp44.i.mail.ru [94.100.177.104]) (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 5E5D66ECE3 for ; Tue, 18 Jan 2022 01:57:23 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 5E5D66ECE3 Received: by smtp44.i.mail.ru with esmtpa (envelope-from ) id 1n9awE-00037o-JA; Tue, 18 Jan 2022 01:57:22 +0300 Message-ID: <710d8863-afa3-f8ba-7f11-f5c6fadd8882@tarantool.org> Date: Mon, 17 Jan 2022 23:57:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: Konstantin Osipov , tarantool-patches@dev.tarantool.org, sergepetrenko@tarantool.org References: <20220116141013.GA121005@starling> In-Reply-To: <20220116141013.GA121005@starling> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD9674A2F03CC160474268CAFF4738263588F0906B536225E03182A05F5380850403DB70E9B96FAD19343FCA9B831C2937C7D88F84B8A2D9E9EB1281A897DED19FC X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE72C932D6B54DFB189EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063721BEEAF38C6AE0B78638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8779D8B19307AF788236326373B89FA29117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCAE9A1BBD95851C5BA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F4460429728776938767073520B1593CA6EC85F86D28451B159A507268D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EE140C956E756FBB7AC8623B8F170C382FD8FC6C240DEA7642DBF02ECDB25306B2B78CF848AE20165D0A6AB1C7CE11FEE30839144E5BB460BA6E0066C2D8992A16C4224003CC836476EA7A3FFF5B025636E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F79006373BC478629CBEC79DEFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: 0D63561A33F958A5D23CE8E81105DA79D020445C41F461F845C47CE76A09AE2BD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7506FE1F977233B9BB410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D343C45ADCD169245FAD9D3127FA5D408518190B17725BF1B1D7C73A0617A7F23A2EE4921C4EA7359C11D7E09C32AA3244CD16F14EEF125BFDE4613F0ABBCB3E144A90944CA99CF22E3FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojH1HXIydI9lwlPn2lCpUOmQ== X-Mailru-Sender: 1F3202E75A95DDEF4818E0AE2495468D84DA46976C673AB9F6A82B6CA0BB3979A03C9746225DBECC07784C02288277CA03E0582D3806FB6A5317862B1921BA260ED6CFD6382C13A6B0DAF586E7D11B3E67EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH 0/4] Split vote 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" On 16.01.2022 15:10, Konstantin Osipov wrote: > * Vladislav Shpilevoy via Tarantool-patches [22/01/15 03:52]: >> Split vote handling in Raft, its usage in storage, and a bug fix found while >> working on this in the first commit. >> >> Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5285-raft-split-vote >> Issue: https://github.com/tarantool/tarantool/issues/5285 > > While I don't mind this patch it is an unnecessary complication on > top of the spec. To prevent the deteriorating effects on liveness > from split vote one needs pre-voting, not split-vote detection. I agree. I also don't like that patchset too much (not counting the first commit, which fixes a crash). The pros are: - can save some seconds in case of a split-vote; - potentially can expose all the vote counts to the monitoring, not just own count. Cons is - too much hassle in the code just for that. Pre-voting on the other hand solves a different problem. Only slightly related.