[tarantool-patches] Re: [PATCH 0/2] Re-implement rowid generation for ephemeral spaces

Kirill Yukhin kyukhin at tarantool.org
Thu Nov 15 07:54:28 MSK 2018

On 29 Oct 22:02, Nikita Pettik wrote:
> Branch: https://github.com/tarantool/tarantool/tree/np/gh-3297-ephemeral-rowid
> Issue: https://github.com/tarantool/tarantool/issues/3297
> This patch-set fixes incorrect rowid generation for ephemeral spaces.
> To achieve this, we introduce separate method in space's vtab,
> which currently available only for memtx engine (as well as ephemeral
> spaces). It simply increments built-in counter and returs new rowid.
> It allows us to get rid of calling index_max() which obviously was
> wrong way at calcucaling next id (since rowid field is taken to be
> last in stored tuples).

I've checked in the patch set into 2.1 branch.

Regards, Kirill Yukhin

More information about the Tarantool-patches mailing list