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 BCBCB2A3DC for ; Wed, 10 Apr 2019 03:15:51 -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 uREDFMg36tTZ for ; Wed, 10 Apr 2019 03:15:51 -0400 (EDT) Received: from smtp32.i.mail.ru (smtp32.i.mail.ru [94.100.177.92]) (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 0C3D225193 for ; Wed, 10 Apr 2019 03:15:50 -0400 (EDT) Date: Wed, 10 Apr 2019 10:15:47 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 1/5] test: allow to remove swim nodes from the cluster Message-ID: <20190410071547.GB8268@chai> References: <965aa21307b9b99b8a67e0922c2c15ba5ce672a8.1554833062.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <965aa21307b9b99b8a67e0922c2c15ba5ce672a8.1554833062.git.v.shpilevoy@tarantool.org> 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: Vladislav Shpilevoy Cc: tarantool-patches@freelists.org * Vladislav Shpilevoy [19/04/09 21:14]: > Until now it was impossible in swim tests to drop a SWIM instance > from the cluster. It should have been either restarted, or > blocked, but a real drop led to an assertion on any attemp to use > one of methods like swim_wait_timeout(). It was due to inability > to get instance's UUID without the instance itself. Even if it > was stored in membership tables of other instances. > > This patch makes swim_cluster store swim instances and UUIDs > separately. This is going to be used to test swim_quit() API. > Also, some cfg parameters are saved as well, like ack timeout, gc > mode. They are used to restart a node with exactly same cfg as > it was before restart. Even if original struct swim * is not > valid already. > > Part of #3234 OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov