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 8D7EB469719 for ; Tue, 22 Sep 2020 01:47:49 +0300 (MSK) From: Vladislav Shpilevoy References: <17979db071a67d8e5f299fd405095dc14a507b3c.1599693319.git.v.shpilevoy@tarantool.org> Message-ID: Date: Tue, 22 Sep 2020 00:47:47 +0200 MIME-Version: 1.0 In-Reply-To: <17979db071a67d8e5f299fd405095dc14a507b3c.1599693319.git.v.shpilevoy@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v2 08/11] raft: relay status updates to followers List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, sergepetrenko@tarantool.org, gorcunov@gmail.com > diff --git a/src/box/applier.cc b/src/box/applier.cc > index c1d07ca54..ed76bf2ca 100644 > --- a/src/box/applier.cc > +++ b/src/box/applier.cc > @@ -298,6 +299,8 @@ apply_final_join_row(struct xrow_header *row) > */ > if (iproto_type_is_synchro_request(row->type)) > return 0; > + if (iproto_type_is_raft_request(row->type)) > + return 0; It seems we can drop this check, can't we? Because now relay sends raft messages only during subscribe phase. > struct txn *txn = txn_begin(); > if (txn == NULL) > return -1;