From: Georgy Kirichenko <georgy@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Georgy Kirichenko <georgy@tarantool.org>
Subject: [tarantool-patches] [PATCH 0/2] Transaction refactoring
Date: Wed, 10 Apr 2019 10:22:24 +0300 [thread overview]
Message-ID: <cover.1554880565.git.georgy@tarantool.org> (raw)
This patchset bring two txn refactorings required for detachable (and
autonomous) transactions and parallel applier as well.
- The first of them adds a separate region to each `struct txn` and
puts all finished transaction in a cache to save region allocations.
- The second one removes auto commit flag from struct twn and requires
txn_begin/txn_commit to start and finish a transaction. Autocommit
behavior moved to box level now.
Branch: https://github.com/tarantool/tarantool/tree/g.kirichenko/gh-1254-txn-memory-refactoring
Issue: https://github.com/tarantool/tarantool/issues/1254
Georgy Kirichenko (2):
Introduce a txn memory region
Get rid of aurocommit from a txn structure
src/box/applier.cc | 27 +++++++++++--
src/box/box.cc | 73 ++++++++++++++++++++++++---------
src/box/errcode.h | 1 +
src/box/memtx_engine.c | 10 ++++-
src/box/txn.c | 91 ++++++++++++++++++++++++++++--------------
src/box/txn.h | 9 ++---
src/box/vinyl.c | 12 ++----
test/box/misc.result | 1 +
8 files changed, 155 insertions(+), 69 deletions(-)
--
2.21.0
next reply other threads:[~2019-04-10 7:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-10 7:22 Georgy Kirichenko [this message]
2019-04-10 7:22 ` [tarantool-patches] [PATCH 1/2] Introduce a txn memory region Georgy Kirichenko
2019-04-10 10:11 ` [tarantool-patches] " Konstantin Osipov
2019-04-10 7:22 ` [tarantool-patches] [PATCH 2/2] Get rid of aurocommit from a txn structure Georgy Kirichenko
2019-04-11 6:43 ` [tarantool-patches] " Konstantin Osipov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1554880565.git.georgy@tarantool.org \
--to=georgy@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='Re: [tarantool-patches] [PATCH 0/2] Transaction refactoring' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox