Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/2] Transaction refactoring
@ 2019-04-10  7:22 Georgy Kirichenko
  2019-04-10  7:22 ` [tarantool-patches] [PATCH 1/2] Introduce a txn memory region Georgy Kirichenko
  2019-04-10  7:22 ` [tarantool-patches] [PATCH 2/2] Get rid of aurocommit from a txn structure Georgy Kirichenko
  0 siblings, 2 replies; 5+ messages in thread
From: Georgy Kirichenko @ 2019-04-10  7:22 UTC (permalink / raw)
  To: tarantool-patches; +Cc: Georgy Kirichenko

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-11  6:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-10  7:22 [tarantool-patches] [PATCH 0/2] Transaction refactoring Georgy Kirichenko
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox