[tarantool-patches] Re: [PATCH 2/2] swim: introduce generation

Konstantin Osipov kostja at tarantool.org
Fri Jun 21 22:53:26 MSK 2019


* Konstantin Osipov <kostja at tarantool.org> [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




More information about the Tarantool-patches mailing list