From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) (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 2FBEB469719 for ; Thu, 15 Oct 2020 12:46:48 +0300 (MSK) Received: by mail-lj1-f195.google.com with SMTP id m16so2473568ljo.6 for ; Thu, 15 Oct 2020 02:46:48 -0700 (PDT) Date: Thu, 15 Oct 2020 12:46:45 +0300 From: Cyrill Gorcunov Message-ID: <20201015094645.GD173841@grain> References: <20201014142617.235813-1-gorcunov@gmail.com> <20201014142617.235813-3-gorcunov@gmail.com> <2e86413a-dfbb-54aa-8015-3bcb289f842c@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2e86413a-dfbb-54aa-8015-3bcb289f842c@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH 2/2] raft: decode even invalid states of raft List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Serge Petrenko Cc: tml , Vladislav Shpilevoy On Thu, Oct 15, 2020 at 12:43:38PM +0300, Serge Petrenko wrote: > > -/** > - * When decoding we should never trust that there > - * is a valid data incomes. > - */ > +/** When decoding we should never trust that the input is valid. */ Sure, will update if Vlad is agree in general.