From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (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 42284469719 for ; Tue, 3 Nov 2020 01:28:56 +0300 (MSK) References: <20201028181352.260915-1-gorcunov@gmail.com> From: Vladislav Shpilevoy Message-ID: <93dac5d3-0711-7110-cd0d-11aa8022511b@tarantool.org> Date: Mon, 2 Nov 2020 23:28:54 +0100 MIME-Version: 1.0 In-Reply-To: <20201028181352.260915-1-gorcunov@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] raft: make sure the voking mask is wide enough List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cyrill Gorcunov , tml Thanks for the patch! It would be better to replace uint32_t with vclock_map_t for vote_mask member. I didn't think of that type when implemented the mask, but it seems to fit here better than a static assertion and uint32_t.