[tarantool-patches] Re: [PATCH 1/1] swim: on address update increment incarnation
Konstantin Osipov
kostja at tarantool.org
Thu Apr 11 15:43:41 MSK 2019
* Vladislav Shpilevoy <v.shpilevoy at 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
More information about the Tarantool-patches
mailing list