From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 AE764469719 for ; Thu, 29 Oct 2020 11:37:11 +0300 (MSK) Received: by mail-lf1-f52.google.com with SMTP id b1so2187268lfp.11 for ; Thu, 29 Oct 2020 01:37:11 -0700 (PDT) From: Cyrill Gorcunov Date: Thu, 29 Oct 2020 11:37:05 +0300 Message-Id: <20201029083707.309206-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v2 0/2] raft: a few fixes for raft state symbolics List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Vladislav Shpilevoy Just to make raft state symbolic representation being safe for arbitrary data since we use it for debug purposes as well. 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 | 41 +++++++++++++++++++++++++++-------------- src/box/raft.h | 6 +++++- 3 files changed, 33 insertions(+), 16 deletions(-) -- 2.26.2