From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp60.i.mail.ru (smtp60.i.mail.ru [217.69.128.40]) (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 67CBD42EF5C for ; Fri, 3 Jul 2020 02:40:33 +0300 (MSK) From: Vladislav Shpilevoy Date: Fri, 3 Jul 2020 01:40:27 +0200 Message-Id: <2108e63a8386c036f43e6cf01666587541e18e61.1593733161.git.v.shpilevoy@tarantool.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 2/5] [tosquash] applier: remove unnecessary fiber name check List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, sergepetrenko@tarantool.org This was an artifact from a first version of the patch. Of course it is not valid, because final commit of this transaction can be done by any fiber. --- src/box/applier.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/box/applier.cc b/src/box/applier.cc index 7e70211b7..9a9ec1dac 100644 --- a/src/box/applier.cc +++ b/src/box/applier.cc @@ -806,7 +806,6 @@ applier_txn_commit_cb(struct trigger *trigger, void *event) (void) trigger; struct txn *txn = (struct txn *)event; assert(txn->fiber != NULL); - assert(strncmp(txn->fiber->name, "applierw", 8) == 0); /* * Let the txn module free the transaction object. It is * not needed for anything else. -- 2.21.1 (Apple Git-122.3)