Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH 0/5] Transactional DDL
@ 2019-07-05 20:25 Vladimir Davydov
  2019-07-05 20:25 ` [PATCH 1/5] vinyl: don't sync WAL on space alter if not necessary Vladimir Davydov
                   ` (4 more replies)
  0 siblings, 5 replies; 37+ messages in thread
From: Vladimir Davydov @ 2019-07-05 20:25 UTC (permalink / raw)
  To: kostja; +Cc: tarantool-patches

This patch set implements transactional DDL for the case when all
statements are non-yielding. There are only two DDL statements that
may yield implicitly - building of a new index and checking a space
format - so it must cover most user stories. For more details re
the implementation, see comments to the individual patches.

https://github.com/tarantool/tarantool/issues/4083
https://github.com/tarantool/tarantool/commits/dv/gh-4083-transactional-ddl

Vladimir Davydov (5):
  vinyl: don't sync WAL on space alter if not necessary
  txn: run on_rollback triggers on txn_abort
  txn: fix execution order of commit triggers
  memtx: fix txn_on_yield for DDL transactions
  Allow to execute non-yielding DDL statements in transactions

 src/box/alter.cc              |  14 ----
 src/box/memtx_engine.c        |  10 +--
 src/box/memtx_space.c         |  10 +++
 src/box/txn.c                 |  33 +++++++-
 src/box/txn.h                 |  44 +++++++----
 src/box/user.cc               |   1 -
 src/box/vinyl.c               |  65 ++++++++++------
 src/box/vy_tx.c               |  11 ++-
 src/box/vy_tx.h               |   7 +-
 src/lib/core/trigger.h        |  11 +++
 test/box/on_replace.result    |  53 ++++++-------
 test/box/on_replace.test.lua  |  13 ++--
 test/box/transaction.result   | 171 ++++++++++++++++++++++++++++++++++++------
 test/box/transaction.test.lua |  92 ++++++++++++++++++++---
 test/engine/truncate.result   |  10 +--
 test/engine/truncate.test.lua |   6 +-
 16 files changed, 406 insertions(+), 145 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2019-07-09 11:03 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-05 20:25 [PATCH 0/5] Transactional DDL Vladimir Davydov
2019-07-05 20:25 ` [PATCH 1/5] vinyl: don't sync WAL on space alter if not necessary Vladimir Davydov
2019-07-08  9:29   ` Konstantin Osipov
2019-07-08  9:50     ` Vladimir Davydov
2019-07-08 15:01   ` Vladimir Davydov
2019-07-05 20:25 ` [PATCH 2/5] txn: run on_rollback triggers on txn_abort Vladimir Davydov
2019-07-08  9:32   ` Konstantin Osipov
2019-07-08  9:57     ` Vladimir Davydov
2019-07-08 12:14       ` Konstantin Osipov
2019-07-08 16:37         ` Vladimir Davydov
2019-07-08 21:56           ` Konstantin Osipov
2019-07-09  8:49             ` Vladimir Davydov
2019-07-05 20:25 ` [PATCH 3/5] txn: fix execution order of commit triggers Vladimir Davydov
2019-07-08 12:17   ` Konstantin Osipov
2019-07-08 15:01   ` Vladimir Davydov
2019-07-05 20:25 ` [PATCH 4/5] memtx: fix txn_on_yield for DDL transactions Vladimir Davydov
2019-07-08 12:22   ` Konstantin Osipov
2019-07-08 16:41     ` Vladimir Davydov
2019-07-08 16:58       ` Vladimir Davydov
2019-07-09 10:12         ` Vladimir Davydov
2019-07-08 21:57       ` Konstantin Osipov
2019-07-09  7:51         ` Vladimir Davydov
2019-07-05 20:25 ` [PATCH 5/5] Allow to execute non-yielding DDL statements in transactions Vladimir Davydov
2019-07-05 22:56   ` Konstantin Osipov
2019-07-08  8:09     ` Vladimir Davydov
2019-07-08  8:21       ` Konstantin Osipov
2019-07-08  8:43         ` Vladimir Davydov
2019-07-08  9:25           ` Konstantin Osipov
2019-07-08 16:46             ` Vladimir Davydov
2019-07-08 21:59               ` Konstantin Osipov
2019-07-08 12:26   ` Konstantin Osipov
2019-07-08 16:51     ` Vladimir Davydov
2019-07-08 22:02       ` Konstantin Osipov
2019-07-09  8:11         ` Vladimir Davydov
2019-07-09 11:03           ` Vladimir Davydov
2019-07-08 12:31   ` Konstantin Osipov
2019-07-08 17:00     ` Vladimir Davydov

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