Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH v3 0/5] Transaction in replication protocol
@ 2019-03-22 12:06 Georgy Kirichenko
  2019-03-22 12:06 ` [tarantool-patches] [PATCH v3 1/5] Abort vinyl index creation in case of truncation rollback Georgy Kirichenko
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Georgy Kirichenko @ 2019-03-22 12:06 UTC (permalink / raw)
  To: tarantool-patches; +Cc: Georgy Kirichenko

This patch set introduces a transactional replication mode into an
applier. There are five patches:
 * Fix truncate rollback in case of failures
 * Update lua schema as soon as space cache updates
 * Allow for ddl operations to be between begin and commit
 * Apply a whole transaction within begin/commit boundaries
 * Raise an error in case of distributed transaction (follow up for
   27283debc)

It is a complete redesign except for applier patch which has some
refactoring according to the last review comments.

Issue: https://github.com/tarantool/tarantool/issues/2798
Branch: https://github.com/tarantool/tarantool/tree/g.kirichenko/gh-2798-transaction-boundaries

Georgy Kirichenko (5):
  Abort vinyl index creation in case of truncation rollback
  Synchronize lua schema update with space cache
  Require for single statement not autocommit in case of ddl
  Transaction support for applier
  Raise an error if remote transaction produces non-local changes

 src/box/alter.cc                      |  26 ++-
 src/box/applier.cc                    | 232 ++++++++++++++++++------
 src/box/memtx_engine.c                |  20 +--
 src/box/txn.c                         |  24 ++-
 src/box/txn.h                         |  14 ++
 test/box/ddl.result                   |   8 +-
 test/box/ddl.test.lua                 |   4 +-
 test/box/transaction.result           |  53 ++----
 test/box/transaction.test.lua         |  27 ++-
 test/engine/ddl.result                |  92 ++++++++++
 test/engine/ddl.test.lua              |  55 ++++++
 test/engine/errinj.result             |  53 ++++++
 test/engine/errinj.test.lua           |  15 ++
 test/engine/suite.ini                 |   1 +
 test/engine/truncate.result           |   3 +-
 test/replication/on_replace.result    |  44 ++++-
 test/replication/on_replace.test.lua  |  20 ++-
 test/replication/transaction.result   | 242 ++++++++++++++++++++++++++
 test/replication/transaction.test.lua |  86 +++++++++
 test/sql-tap/trigger1.test.lua        |  12 +-
 test/sql/delete.result                |   8 +-
 test/sql/delete.test.lua              |   3 +-
 22 files changed, 877 insertions(+), 165 deletions(-)
 create mode 100644 test/engine/errinj.result
 create mode 100644 test/engine/errinj.test.lua
 create mode 100644 test/replication/transaction.result
 create mode 100644 test/replication/transaction.test.lua

-- 
2.21.0

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

end of thread, other threads:[~2019-03-27 12:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 12:06 [tarantool-patches] [PATCH v3 0/5] Transaction in replication protocol Georgy Kirichenko
2019-03-22 12:06 ` [tarantool-patches] [PATCH v3 1/5] Abort vinyl index creation in case of truncation rollback Georgy Kirichenko
2019-03-27  9:59   ` Vladimir Davydov
2019-03-22 12:06 ` [tarantool-patches] [PATCH v3 2/5] Synchronize lua schema update with space cache Georgy Kirichenko
2019-03-27 10:03   ` Vladimir Davydov
2019-03-27 10:32     ` Vladimir Davydov
2019-03-27 11:45       ` [tarantool-patches] " Konstantin Osipov
2019-03-22 12:06 ` [tarantool-patches] [PATCH v3 3/5] Require for single statement not autocommit in case of ddl Georgy Kirichenko
2019-03-27 10:49   ` Vladimir Davydov
2019-03-22 12:06 ` [tarantool-patches] [PATCH v3 4/5] Transaction support for applier Georgy Kirichenko
2019-03-27 11:41   ` Vladimir Davydov
2019-03-27 11:48   ` Vladimir Davydov
2019-03-22 12:06 ` [tarantool-patches] [PATCH v3 5/5] Raise an error if remote transaction produces non-local changes Georgy Kirichenko
2019-03-27 12:06   ` Vladimir Davydov

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