From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6E26D2A554 for ; Wed, 20 Mar 2019 16:31:44 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zxVk_MxnQHUw for ; Wed, 20 Mar 2019 16:31:44 -0400 (EDT) Received: from smtp29.i.mail.ru (smtp29.i.mail.ru [94.100.177.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 1D4A02A246 for ; Wed, 20 Mar 2019 16:31:44 -0400 (EDT) From: Georgy Kirichenko Subject: [tarantool-patches] [PATCH 0/3] Enable ddl between begin and commit statements Date: Wed, 20 Mar 2019 23:31:32 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: Georgy Kirichenko 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