From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7C32724F47 for ; Tue, 19 Feb 2019 09:59:22 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BhMx_44HF_Ot for ; Tue, 19 Feb 2019 09:59:22 -0500 (EST) Received: from smtp61.i.mail.ru (smtp61.i.mail.ru [217.69.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 35A58247EC for ; Tue, 19 Feb 2019 09:59:22 -0500 (EST) Date: Tue, 19 Feb 2019 17:59:19 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH v3 1/2] Journal transaction boundaries Message-ID: <20190219145919.GA2503@chai> References: <20190215131541.u64sjmsrjkkxqixy@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190215131541.u64sjmsrjkkxqixy@esperanza> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Georgy Kirichenko * Vladimir Davydov [19/02/15 16:17]: > > + /* 0x08 */ MP_UINT, /* IPROTO_TXN_ID */ > > + /* 0x09 */ MP_UINT, /* IPROTO_TXN_FLAGS */ > > I don't quite like the name, because we encode not a txn id, but the > statement number in a txn. Let's rename it to IPROTO_TXN_STMT_NO or > IPROTO_TXN_STMT_ID or IPROTO_TXN_STMT_SEQ? How about IRPOTO_TSN and IPROTO_FLAGS? > > +enum { > > + /** Set for the last xrow in a transaction. */ > > + TXN_FLAG_COMMIT = 0x01, > > IPROTO_TXN_COMMIT? IRPOTO_FLAG_COMMIT? -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov