[tarantool-patches] Re: [PATCH v2 1/2] swim: make incarnation struct

Konstantin Osipov kostja at tarantool.org
Sun Jun 23 11:31:56 MSK 2019


* Vladislav Shpilevoy <v.shpilevoy at 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




More information about the Tarantool-patches mailing list