[tarantool-patches] Re: [PATCH] schema: rework index sequence API
Konstantin Osipov
kostja at tarantool.org
Tue May 28 12:38:25 MSK 2019
* Vladimir Davydov <vdavydov.dev at gmail.com> [19/05/28 10:42]:
> > What happens when I rename the field using space::format()?
> > Does sequence continue to work? Which field is it using then?
>
> I guess, just like indexes, sequences should be attached not to a field
> name, but to a field no so nothing will happen when a field is renamed.
>
> >
> > What happens when if I alter the index and modify its part names, order
> > or count? The answer to this question depends on whether
> > _sequence_space stores the path or the part.
>
> If we store fieldno+path, there will be an error altering the index
> unless sequence is modified as well. I guess that's okay.
>
> >
> > If you think using a field is a stupid idea and the core should
> > continue using part no, please, test the consequences of this at
> > least.
Thanks. The above questions were suggestions for test cases,
actually.
--
Konstantin Osipov, Moscow, Russia
More information about the Tarantool-patches
mailing list