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 D6C366F3C7; Fri, 26 Mar 2021 23:49:46 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D6C366F3C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616791786; bh=7bHEPwnRyLHV6QqxX9LlaDR7+SnpqsEcQr/qHwVEXQs=; h=To:Cc:References:Date:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Sm4HN6e19yDxf6rvaTa3e/nvS6Mc5+QqgPG9aQFlHRxfzj6JpuauexCqvC0gp9Cd3 u9faGkRXwLwaLMYfSwAeztscWK7HUwj2TLTQ6KMTW2RfjyEXBZGttMGknP06CvR1Yd SYac+jHuTVy7MbMLQrOmYYQYqtTCm5wG/jzYT9Uc= Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (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 D95576F3C7 for ; Fri, 26 Mar 2021 23:49:44 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D95576F3C7 Received: by smtp40.i.mail.ru with esmtpa (envelope-from ) id 1lPtOq-0008Qe-AX; Fri, 26 Mar 2021 23:49:44 +0300 To: Serge Petrenko , gorcunov@gmail.com Cc: tarantool-patches@dev.tarantool.org References: <14137c7d7aeea238e2f876bec388923840557cc7.1616588119.git.sergepetrenko@tarantool.org> Message-ID: <566bcb93-7123-3c59-f33d-0dac49592b88@tarantool.org> Date: Fri, 26 Mar 2021 21:49:43 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <14137c7d7aeea238e2f876bec388923840557cc7.1616588119.git.sergepetrenko@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD9ED7173E37F4E32947287414FD1D04A09E656A5F3377C994A182A05F53808504016A38702737FD0981E3135D0EE8F1708195A2492B5C419A1D1480BC1B4161421 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7484B509D84968742EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637367CCE42412B8BE38638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C5DD32608FC869F5D8ABC13CD45787959409AB7E91EF4BA96A471835C12D1D9774AD6D5ED66289B5278DA827A17800CE70F3DDF2BBF19B93A9FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C3A12191B5F2BB8629117882F4460429728AD0CFFFB425014E868A13BD56FB6657D81D268191BDAD3DC09775C1D3CA48CF40B429B92CE9FF2BBA3038C0950A5D36C8A9BA7A39EFB766EC990983EF5C0329BA3038C0950A5D36D5E8D9A59859A8B69FAFC0C54439850876E601842F6C81A1F004C906525384307823802FF610243DF43C7A68FF6260569E8FC8737B5C2249B372FE9A2E580EFC725E5C173C3A84C3C9BE88FFEDFA497A35872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A24A6D60772A99906F8E1CD14B953EB46D90BCA1E8ED67BC82355D89D7DBCDD132 X-C1DE0DAB: 0D63561A33F958A5BED6DE43306FBA5363D22BA432E876080A64CEE862291231D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7502E6951B79FF9A3F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D340CB2836B823694499848C791FA6C482F59470F338DAF72AF16C5C9915181360559DA0EAF487E1EF61D7E09C32AA3244CCCEAC3FAC2F11DA54B0D23BD096BF14730452B15D76AEC14FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojapPp7P/VpAgBhlzJgggLRw== X-Mailru-Sender: 504CC1E875BF3E7D9BC0E5172ADA311029B0AD94EF0A590F7FDF6220FFD78E9CCC370D87315486AC07784C02288277CA03E0582D3806FB6A5317862B1921BA260ED6CFD6382C13A6112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v2 6/7] replication: tolerate synchro rollback during final join 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" Thanks for working on this! > diff --git a/test/replication/gh-5566-final-join-synchro.result b/test/replication/gh-5566-final-join-synchro.result > new file mode 100644 > index 000000000..32749bf12 > --- /dev/null > +++ b/test/replication/gh-5566-final-join-synchro.result > @@ -0,0 +1,139 @@ > +-- test-run result file version 2 > +test_run = require('test_run').new() > + | --- > + | ... > + > +-- > +-- gh-5566 replica tolerates synchronous transactions in final join stream. > +-- > +_ = box.schema.space.create('sync', {is_sync=true}) > + | --- > + | ... > +_ = box.space.sync:create_index('pk') > + | --- > + | ... > + > +box.schema.user.grant('guest', 'replication') > + | --- > + | ... > +box.schema.user.grant('guest', 'write', 'space', 'sync') > + | --- > + | ... > + > +-- Part 1. Make sure a joining instance tolerates synchronous rows in final join > +-- stream. > +trig = function()\ > + box.space.sync:replace{1}\ > +end You might need to increase the synchro timeout because the default can be flaky.