From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp62.i.mail.ru (smtp62.i.mail.ru [217.69.128.42]) (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 E61D642EF5C for ; Fri, 19 Jun 2020 02:13:00 +0300 (MSK) References: From: Leonid Vasiliev Message-ID: Date: Fri, 19 Jun 2020 02:12:59 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH 3/8] txn: add TXN_WAIT_ACK flag List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Serge Petrenko , v.shpilevoy@tarantool.org, sergos@tarantool.org, gorcunov@gmail.com Cc: tarantool-patches@dev.tarantool.org Hi! Thank you for the patch. > stailq_foreach_entry(stmt, &txn->stmts, next) { > if (stmt->has_triggers) { > txn_init_triggers(txn); > rlist_splice(&txn->on_commit, &stmt->on_commit); > } > + is_sync = is_sync || stmt->space->def->opts.is_sync; Seems like "... || (stmt->space != NULL && stmt->space->def->opts.is_sync);" can be moved here from "replication: make sync transactions wait quorum". LGTM.