From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 E684A445320 for ; Wed, 22 Jul 2020 11:40:21 +0300 (MSK) Received: by mail-lj1-f171.google.com with SMTP id e8so1634973ljb.0 for ; Wed, 22 Jul 2020 01:40:21 -0700 (PDT) Date: Wed, 22 Jul 2020 11:40:18 +0300 From: Cyrill Gorcunov Message-ID: <20200722084018.GB8106@grain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH 0/2] Make txn_commit() simpler List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org On Wed, Jul 22, 2020 at 12:42:42AM +0200, Vladislav Shpilevoy wrote: > The patch makes so journal_write() always ends with the > transaction completed, with TXN_IS_DONE flag installed. That > allows to remove 1 'if' from hot txn_commit() function, and make > journal API more straightforward. > > This change also motivated rework of how limbo commits > transactions. > > Branch: http://github.com/tarantool/tarantool/tree/gerold103/txn_commit-opt Ack to both