[PATCH 12/12] vinyl: allow to modify key definition if it does not require rebuild
Konstantin Osipov
kostja at tarantool.org
Thu Apr 5 17:48:49 MSK 2018
* Konstantin Osipov <kostja at tarantool.org> [18/04/05 17:45]:
> One more thing, please, we need more functional tests.
>
> Let's create a test plan which we will then reuse for non-empty
> spaces as well:
>
> Modify:
> - unique -> non unique, non-unique -> unique, or no change
> - nullable -> not-nullable, not-nullable -> nullable, or no
> change
> - a wider type is altered to a more narrow type, or vice versa,
> or the type types are incompatible, or no change,
> - key part added, removed, or all key parts changed, or no key
> parts changed.
A few more dimensions:
- engine=memtx or engine=vinyl.
- a space format is defined or not
- a space is empty or not
- the alter happens during run time, replica join, or WAL recovery
--
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov
More information about the Tarantool-patches
mailing list