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

Konstantin Osipov kostja at tarantool.org
Fri Jun 21 22:48:43 MSK 2019


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/06/21 22:31]:


Well, I don't know, it's bikeshed.

Your argument doesn't make sense however, age can not encompass
generation - an age is something you have within a generation.

Plus, I was thinking that the two fields together are the actual
swim incarnation, because only the two things together ensure
strict ordering, which is swim's requirement for incarnation.

As for the API, you could return a binary or text for incarnation and 
thus preserve SWIM requirements.

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




More information about the Tarantool-patches mailing list