From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 993B4469710 for ; Tue, 24 Nov 2020 17:14:18 +0300 (MSK) Received: by mail-lf1-f67.google.com with SMTP id l11so29142041lfg.0 for ; Tue, 24 Nov 2020 06:14:18 -0800 (PST) Date: Tue, 24 Nov 2020 17:14:15 +0300 From: Cyrill Gorcunov Message-ID: <20201124141415.GL875895@grain> References: <20201124131820.32981-1-sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201124131820.32981-1-sergepetrenko@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH] raft: make sure the leader stays ro till it clears the limbo List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Serge Petrenko Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org On Tue, Nov 24, 2020 at 04:18:20PM +0300, Serge Petrenko wrote: ... > if (raft->state != RAFT_STATE_LEADER) > + box_update_ro_summary(); > return 0; Either indent is broken or curled braces are missed?