[tarantool-patches] [PATCH 0/3] Enable ddl between begin and commit statements

Georgy Kirichenko georgy at tarantool.org
Wed Mar 20 23:31:32 MSK 2019


This patchset consist of three commits that are making possible a ddl
between begin and commit.

* The first patch fixes truncate rollback behavior because of vinyl's
  internal assertion.
* The second one synchronizes lua schema updates with the space cache
* The third one brings a possibility of a ddl operation in a scope of
  an explicitly started transaction.

Branch: https://github.com/tarantool/tarantool/tree/g.kirichenko/gh-2798-ddl-between-begin-commit
Issue: https://github.com/tarantool/tarantool/issues/2798

Georgy Kirichenko (3):
  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

 src/box/alter.cc               | 21 ++++++--
 src/box/memtx_engine.c         | 20 ++------
 src/box/txn.c                  |  9 +++-
 src/box/txn.h                  |  5 ++
 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      | 34 +++++++++++++
 test/engine/errinj.test.lua    | 12 +++++
 test/engine/suite.ini          |  1 +
 test/engine/truncate.result    |  3 +-
 test/sql-tap/trigger1.test.lua | 12 ++---
 test/sql/delete.result         |  8 ++-
 test/sql/delete.test.lua       |  3 +-
 17 files changed, 267 insertions(+), 100 deletions(-)
 create mode 100644 test/engine/errinj.result
 create mode 100644 test/engine/errinj.test.lua

-- 
2.21.0





More information about the Tarantool-patches mailing list