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 50FD86EC55; Thu, 15 Jul 2021 20:13:35 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 50FD86EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1626369215; bh=ZacqlY1dJCdCmdt1KTnnmMucmmhhfdbgGwIu+76NMVk=; 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=AERuq1ESXUcY1SYkbtey8GIts1LiPpE09q8qQWHzqX08MmDPbFN5hQDKw5gqe2NPT fyzLS/bisWO85xsw6OVrpT/zE/hLcgRhTGt3zfRZICh4/BM2oI2r7XFeq/NoOSyS1c uguYXjxSXUoUwXwaQxwNhlgt3YIiYcvfochNZEDg= Received: from smtp51.i.mail.ru (smtp51.i.mail.ru [94.100.177.111]) (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 853766EC55 for ; Thu, 15 Jul 2021 20:13:34 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 853766EC55 Received: by smtp51.i.mail.ru with esmtpa (envelope-from ) id 1m44vV-0007dX-VE; Thu, 15 Jul 2021 20:13:34 +0300 To: v.shpilevoy@tarantool.org, gorcunov@gmail.com Cc: tarantool-patches@dev.tarantool.org References: <65333f9e19bc2ab095ec53810f40b7b779aad032.1626287002.git.sergepetrenko@tarantool.org> Message-ID: <277897ed-5f70-04df-b44e-90018d944374@tarantool.org> Date: Thu, 15 Jul 2021 20:13:33 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <65333f9e19bc2ab095ec53810f40b7b779aad032.1626287002.git.sergepetrenko@tarantool.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD941C43E597735A9C36A98DBA789EBB6AEFB5A483DCE5E7579182A05F5380850401732FBA0580E57E52880A7ECB591F7729A223D5495098EDF37AF3D9ED4172D20 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE72E2D36A15E1833D8EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637389D8DDD54F43F7A8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D886C2B3679C42AC6D10AEDA9280981A3E117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCAA867293B0326636D2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8BF1175FABE1C0F9B6A471835C12D1D977C4224003CC8364762BB6847A3DEAEFB0F43C7A68FF6260569E8FC8737B5C2249EC8D19AE6D49635B68655334FD4449CB9ECD01F8117BC8BEAAAE862A0553A39223F8577A6DFFEA7CB1724D34C644744043847C11F186F3C59DAA53EE0834AAEE X-C1DE0DAB: 0D63561A33F958A52A1B01D41D26285198284800AE1C36DDE376EAA97B48738DD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7501A9DF589746230F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3474B2583E513159847347289376F172016E74AF4C3F6163E6023662706FAD9CE933C9A0E0341BDE3A1D7E09C32AA3244CD32FD72DBB3C743569550407C83E1D6FF522A1CF68F4BE05FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojSyb42jm8PHKOfMZRfJkKxw== X-Mailru-Sender: 3B9A0136629DC9125D61937A2360A446124F3286571209A3B6CC3A6E5DB174A96199D73DFDCA41E1424AE0EB1F3D1D21E2978F233C3FAE6EE63DB1732555E4A8EE80603BA4A5B0BC112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v4 16/16] box: introduce `box.ctl.demote` 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: Serge Petrenko via Tarantool-patches Reply-To: Serge Petrenko Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 14.07.2021 21:25, Serge Petrenko пишет: Another simple fix: ================================= diff --git a/test/replication/gh-6034-qsync-limbo-ownership.result b/test/replication/gh-6034-qsync-limbo-ownership.result index 0da3e5c2d..b4f53cd2a 100644 --- a/test/replication/gh-6034-qsync-limbo-ownership.result +++ b/test/replication/gh-6034-qsync-limbo-ownership.result @@ -120,6 +120,9 @@ test_run:switch('default')   | ---   | - true   | ... +test_run:wait_lsn('default', 'replica') + | --- + | ...  assert(box.info.ro)   | ---   | - true diff --git a/test/replication/gh-6034-qsync-limbo-ownership.test.lua b/test/replication/gh-6034-qsync-limbo-ownership.test.lua index a0c49575a..f9ef5ca41 100644 --- a/test/replication/gh-6034-qsync-limbo-ownership.test.lua +++ b/test/replication/gh-6034-qsync-limbo-ownership.test.lua @@ -43,6 +43,7 @@ assert(box.info.synchro.queue.owner == box.info.id)  box.space.sync:insert{2} -- success.  test_run:switch('default') +test_run:wait_lsn('default', 'replica')  assert(box.info.ro)  assert(box.info.synchro.queue.owner == test_run:get_server_id('replica'))  box.space.sync:insert{3} -- failure. ================================= -- Serge Petrenko