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 94450316DB for ; Fri, 21 Jun 2019 15:53:29 -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 BdsPNZZ7yEEC for ; Fri, 21 Jun 2019 15:53:29 -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 4954B316DA for ; Fri, 21 Jun 2019 15:53:29 -0400 (EDT) Date: Fri, 21 Jun 2019 22:53:26 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 2/2] swim: introduce generation Message-ID: <20190621195326.GC28557@atlas> References: <9852675764d25bdc720023ed6763d97cbeab8bee.1561065646.git.v.shpilevoy@tarantool.org> <20190621065358.GF18958@atlas> <9a45ac3e-0bf7-6aad-e673-494c1e20a8da@tarantool.org> <20190621194843.GB28557@atlas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190621194843.GB28557@atlas> 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 * Konstantin Osipov [19/06/21 22:48]: > As for the API, you could return a binary or text for incarnation and > thus preserve SWIM requirements. I mean: function incarnation() return tostring(generation) .. ":" .. tostring(incarnation) end > > Basically, I thought that we keep the incarnation as before, but > make it a bit complex than what swim does by default - it's part > of your original proposal of keeping both members part of 8-byte > incarnation, but without 8-byte compromise. > > -- > Konstantin Osipov, Moscow, Russia -- Konstantin Osipov, Moscow, Russia