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 02CED6FC8F; Thu, 25 Mar 2021 22:56:20 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 02CED6FC8F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616702180; bh=ty2+bRS/k8FeMq2OsZ0/UgZsmBzX91LaZvWVzOq6Sd8=; h=To:References:Date:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=MTx29uoLAoXj5p8EM3zNJzrQsEmU6THVjI7L3FAsF4iFma0V5rxrPU3n3Jq/4ksfv /rrCslmxNpIyyKBWf7HDaTZOJXHi7ktQTJOzHakc4bbUv8JngCSrQxSo93phHd17oo au3IiPl2/s/Kwz00Wgj7QUDAZcbIbEXTbMfGQ4pE= Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (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 7A2BA6FC8F for ; Thu, 25 Mar 2021 22:56:18 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7A2BA6FC8F Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1lPW5Z-0007Bq-2A; Thu, 25 Mar 2021 22:56:17 +0300 To: Cyrill Gorcunov References: <20210324163759.1900553-1-gorcunov@gmail.com> <20210324163759.1900553-3-gorcunov@gmail.com> <4b25e784-84b8-0a5d-d48c-2a47eb939d09@tarantool.org> Message-ID: <9e613449-0ca0-839b-f3ca-7067e4c58ee4@tarantool.org> Date: Thu, 25 Mar 2021 20:56:15 +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: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9064ADF4728AA0EE993662DB34D9B1ABD5A9410DDDE83AB43182A05F538085040351673885CDFD5E38B6DDD0E051C89EF1C5A73A1A0A736332D2D0D513C62C34F X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE742D9BD90C58D50E0EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006371DF52D98DC3592C48638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C5DD32608FC869F5D57096EEB46A63320A90273D249A68E95A471835C12D1D9774AD6D5ED66289B5278DA827A17800CE7A3E989B1926288338941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6CCE3E035A672CDEECC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB86D1867E19FE14079C09775C1D3CA48CFC5EA940A35A165FF2DBA43225CD8A89FB26E97DCB74E625242539A7722CA490CB5C8C57E37DE458BEDA766A37F9254B7 X-C1DE0DAB: 0D63561A33F958A5F446BCA532B00DF73F29196CB1B7B39AF5F8F5F01FB7F718D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75F04B387B5D7535DE410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D344F2126FF337FA6512318B54D41075CFB2FAA4B8271D09355E6A00BF7C01DEC94148EEF3CB5F4A51A1D7E09C32AA3244C403EE2509E35FDA52E4DF819F1BD0D92A90944CA99CF22E3927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojapPp7P/VpAjAaES1fDHusg== X-Mailru-Sender: 689FA8AB762F73936BC43F508A063822E463FBC0FF7BA0331549759C61AF967E3841015FED1DE5223CC9A89AB576DD93FB559BB5D741EB963CF37A108A312F5C27E8A8C3839CE0E267EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v4 2/3] test: add a test for wal_cleanup_delay option 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 Cc: tml Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On 25.03.2021 13:07, Cyrill Gorcunov wrote: > On Wed, Mar 24, 2021 at 11:10:23PM +0100, Vladislav Shpilevoy wrote: >> Thanks for working on this! >> >> See 4 comments below. >> >>> + >>> +-- >>> +-- Stop the replica node and generate >>> +-- xlogs on the master. >>> +test_run:switch('default') >> >> 1. You could switch to the master right away. No >> need to switch through the default node. > > No. I'm *on* the replica at this moment and then > I need to stop it. I can't stop server being on > it, otherwise we hang. Already tried. I know you are on the replica. And you need to switch to the master. Then switch to the master. I don't see why do you need to do it ->default->master instead of just ->master way.