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 5CD822C908 for ; Wed, 1 May 2019 01:15:19 -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 YzDyhjkll1X5 for ; Wed, 1 May 2019 01:15:19 -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 168F72C8D7 for ; Wed, 1 May 2019 01:15:18 -0400 (EDT) Date: Wed, 1 May 2019 08:15:15 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 2/5] swim: introduce member reference API Message-ID: <20190501051515.GB1139@atlas> References: <93b1da3130537b7182f0326e9ede8202a1319906.1556663421.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <93b1da3130537b7182f0326e9ede8202a1319906.1556663421.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/05/01 08:07]: I disagree with adding a member status for dropped member. By resetting the status you lose the information about the original status, as set when leaving the membership table. Anyway, member status is part of the swim protocol, and should not be used to reflect any memory management details specific to the programming language in use. Please either have a separate status for zombie members or simply check for refs == 1. Re the word itself: orphan means someone who lost a parent. A member which was kicked out of the membership hasn't necessarily lost a parent. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32