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 82F59469719 for ; Wed, 14 Oct 2020 17:26:22 +0300 (MSK) Received: by mail-lf1-f67.google.com with SMTP id v6so3871158lfa.13 for ; Wed, 14 Oct 2020 07:26:22 -0700 (PDT) From: Cyrill Gorcunov Date: Wed, 14 Oct 2020 17:26:15 +0300 Message-Id: <20201014142617.235813-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/2] raft: a few fixes List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy , Serge Petrenko Cc: tml Vlad, Sergey, here are a few nitpicks. Feel free to ignore just came to mind while been reading the code. The issue with potential nil dereference for raft worker should be addressed separately on top of the Vlad fixes. Cyrill Gorcunov (2): raft: raft_request_to_string -- don't hardcode size raft: decode even invalid states of raft src/box/lua/info.c | 2 +- src/box/raft.c | 31 ++++++++++++++++++++++--------- src/box/raft.h | 11 ++++++++++- 3 files changed, 33 insertions(+), 11 deletions(-) -- 2.26.2