Tarantool development patches archive
 help / color / mirror / Atom feed
From: Konstantin Osipov <kostja@tarantool.org>
To: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Cc: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH v2 1/2] swim: make incarnation struct
Date: Sun, 23 Jun 2019 11:31:56 +0300	[thread overview]
Message-ID: <20190623083156.GB7915@atlas> (raw)
In-Reply-To: <51c439eb0ff8bb7ff46306fde45b4d8f166f3fc5.1561238125.git.v.shpilevoy@tarantool.org>

* Vladislav Shpilevoy <v.shpilevoy@tarantool.org> [19/06/23 09:42]:
> Traditional SWIM describes member version as incarnation -
> volatile monotonically growing number to refute false gossips.
> But it is not enough in the real world because of necessity to
> detect restarts and refute information from previous lifes of an
> instance.
> 
> Incarnation is going to be a two-part value with persistent upper
> part and volatile lower part. This patch does preparations making
> incarnation struct instead of a number.

LGTM.

BTW, why is incarnation = uint64max for a non-existent member?
Wouldn't it be more logical to make it int64min instead?


-- 
Konstantin Osipov, Moscow, Russia

  reply	other threads:[~2019-06-23  8:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-22 21:18 [tarantool-patches] [PATCH v2 0/2] SWIM generation Vladislav Shpilevoy
2019-06-22 21:18 ` [tarantool-patches] [PATCH v2 1/2] swim: make incarnation struct Vladislav Shpilevoy
2019-06-23  8:31   ` Konstantin Osipov [this message]
2019-06-23 17:54     ` [tarantool-patches] " Vladislav Shpilevoy
2019-06-22 21:18 ` [tarantool-patches] [PATCH v2 2/2] swim: introduce incarnation.generation Vladislav Shpilevoy
2019-06-23  9:00   ` [tarantool-patches] " Konstantin Osipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190623083156.GB7915@atlas \
    --to=kostja@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='[tarantool-patches] Re: [PATCH v2 1/2] swim: make incarnation struct' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox