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 8EEDB2921E for ; Wed, 10 Apr 2019 03:22:27 -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 5jAZXoy5ms3I for ; Wed, 10 Apr 2019 03:22:27 -0400 (EDT) Received: from smtp45.i.mail.ru (smtp45.i.mail.ru [94.100.177.105]) (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 4522F291C9 for ; Wed, 10 Apr 2019 03:22:27 -0400 (EDT) Date: Wed, 10 Apr 2019 10:22:24 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 5/5] swim: make UUID update smoother and faster Message-ID: <20190410072224.GF8268@chai> References: <8cb7780550d5a32e275bcf96a0991a5b4f785985.1554833062.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8cb7780550d5a32e275bcf96a0991a5b4f785985.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]: > Before this patch UUID update was the same as introduction of a > new member and waiting until the 'old' is dropped as 'dead' by > the failure detection component. It could take 2.5 minutes with > the default ack timeout. What is more, with GC turned off it > would always result in never deleted old UUID. > > The patch on a UUID update marks the old UUID as 'left' member. > In the best and most common case it guarantees that old UUID will > be dropped not later than after 2 complete rounds, and marked as > 'left' everywhere for log(cluster_size) round steps. Even with GC > turned off. > > Part of #3234 OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov