From: Konstantin Osipov <kostja@tarantool.org>
To: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH 1/1] swim: on address update increment incarnation
Date: Thu, 11 Apr 2019 15:43:41 +0300 [thread overview]
Message-ID: <20190411124341.GA1331@chai> (raw)
In-Reply-To: <aa7019c25a6c5caa33e4244eae7d5d44131afcdb.1554923938.git.v.shpilevoy@tarantool.org>
* Vladislav Shpilevoy <v.shpilevoy@tarantool.org> [19/04/10 22:22]:
> In the original SWIM paper the incarnation is just a way of
> refuting old statuses, nothing more. It is not designed as a
> versioning system of a member and its non-status attributes. But
> Tarantool harnesses the incarnation for wider range of tasks.
> In Tarantool's implementation the incarnation (in theory) refutes
> old statuses, old payloads, old addresses.
>
> But appeared, that before the patch an address update did not
> touch incarnation. Because of that it was possible to rewrite a
> new address with the old one back. The patch fixes it with a mere
> increment of incarnation on each address update.
>
> The fix is simple because the current SWIM implementation
> always carries the tuple {incarnation, status, address} together,
> as a one big attribute. It is not so for payloads, so for them an
> analogous fix will be much more tricky.
I pushed this patch to master.
--
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov
prev parent reply other threads:[~2019-04-11 12:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-10 19:19 [tarantool-patches] " Vladislav Shpilevoy
2019-04-11 12:43 ` Konstantin Osipov [this message]
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=20190411124341.GA1331@chai \
--to=kostja@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH 1/1] swim: on address update increment incarnation' \
/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