From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 1E9C96EC5D; Fri, 2 Apr 2021 01:23:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1E9C96EC5D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1617315831; bh=/4Xt3zCUonE1fGjY/oI5sw5XaJh4Z4j1iCtofaOaasg=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=E9ld/SgWfHbL+Yjjz9E5Xkj9cvCmTEDWUx2Hu6CkoFSec2xM/rXU1lE4casfgzHCN /HjUgA+jcIwZQcTIjuvIIbjmmbCoMSOP6Md4+KnNxfmSyYqq055XC6fsbU7c7542mz uNTa79DaTnLF8muvS2YfjDCj+eyVTs24aKJFDG1w= Received: from smtp37.i.mail.ru (smtp37.i.mail.ru [94.100.177.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 911F36EC5D for ; Fri, 2 Apr 2021 01:23:46 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 911F36EC5D Received: by smtp37.i.mail.ru with esmtpa (envelope-from ) id 1lS5j7-0003d7-4S; Fri, 02 Apr 2021 01:23:45 +0300 To: tarantool-patches@dev.tarantool.org, gorcunov@gmail.com, sergepetrenko@tarantool.org, korablev@tarantool.org Date: Fri, 2 Apr 2021 00:23:41 +0200 Message-Id: X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9ED7173E37F4E32947A0146560F8BA709E798FFD99D1B1662182A05F5380850401F8DC7DFB7CC973765C407CF2DAE25CB8B804CDEAFF3A2A553FC84CDDBE06994 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE70ED3881ADD6CEF6AEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637FA81DCE0280C9CC68F08D7030A58E5ADC58D69EE07B14084C6CDE5D1141D2B1C777DAC34C5BAEFA577C6102A768500E105B50F45DDAE44559FA2833FD35BB23D9E625A9149C048EE140C956E756FBB7AE5D25F19253116ADD2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8B1F9C260F03842663A471835C12D1D977C4224003CC836476EB9C4185024447017B076A6E789B0E975F5C1EE8F4F765FC01CE49B20A463386D81D268191BDAD3DBD4B6F7A4D31EC0BEA7A3FFF5B025636D81D268191BDAD3D78DA827A17800CE70BFC8670DAA9A89CEC76A7562686271EEC990983EF5C03292E808ACE2090B5E14AD6D5ED66289B5259CC434672EE63711DD303D21008E298D5E8D9A59859A8B6B372FE9A2E580EFC725E5C173C3A84C36C11734D16C7A3D435872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A2368A440D3B0F6089093C9A16E5BC824AC8B6CDF511875BC4E8F7B195E1C978312B5887271788A049F4AFB5C2C7CD4746 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8183A4AFAF3EA6BDC446469D8A8717206BB7B5A45DDF210A4CFEB908C3832244C526F874C84A21AC5D39C2B6934AE262D3EE7EAB7254005DCED579D4A3F7131653F9510FB958DCE06DB6ED91DBE5ABE359A3485EE9140A7D39D1B2EFE7B39F7738393EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D340A4C04F5DECA7EE99E6E3229B49E2C7BD08B861A8655F651C2A4067E3B734CB70410BD2FD8FE6F591D7E09C32AA3244C2F1612E7D4F8F4654CA596B020B12A8CFE8DA44ABE2443F7927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXgxqc6TfKY18Lx7jnV3Gdff X-Mailru-Sender: 504CC1E875BF3E7D9BC0E5172ADA3110FD186DCADF05FF8BB5D7BE40CD7BF9613120E6DF4C99E4C907784C02288277CA03E0582D3806FB6A5317862B1921BA260ED6CFD6382C13A6112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: [Tarantool-patches] [PATCH 0/3] Transactional recovery X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Vladislav Shpilevoy via Tarantool-patches Reply-To: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" The patchset makes the recovery transactional. That is done for the synchronous transactions, because they might be followed by a ROLLBACK, and then must be reverted entirely, including their statements working with non-sync spaces. Nikita, I need you to check if the first commit is correct. It touches vinyl. Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5874-txn-recovery Issue: https://github.com/tarantool/tarantool/issues/5874 Vladislav Shpilevoy (3): vinyl: handle multi-statement recovery txns recovery: make it transactional box: remove is_local_recovery variable .../unreleased/qsync-multi-statement-recovery | 5 + src/box/box.cc | 273 +++++++++++++++--- src/box/vy_tx.c | 9 +- .../gh-5874-qsync-txn-recovery.result | 124 ++++++++ .../gh-5874-qsync-txn-recovery.test.lua | 64 ++++ 5 files changed, 436 insertions(+), 39 deletions(-) create mode 100644 changelogs/unreleased/qsync-multi-statement-recovery create mode 100644 test/replication/gh-5874-qsync-txn-recovery.result create mode 100644 test/replication/gh-5874-qsync-txn-recovery.test.lua -- 2.24.3 (Apple Git-128)