Skip to content

[2pt] tuple: allow nullable multikey index root #1484

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PersDep opened this issue Aug 25, 2020 · 0 comments · Fixed by #3562
Closed

[2pt] tuple: allow nullable multikey index root #1484

PersDep opened this issue Aug 25, 2020 · 0 comments · Fixed by #3562
Assignees
Labels
feature A new functionality reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality

Comments

@PersDep
Copy link

PersDep commented Aug 25, 2020

Update the documentation for space_object:create_index() to reflect
that it is now safe for multikey index root to be nullable.
Previously it was not safe to insert, for example, box.NULL as an array
field which elements are the part of multikey index due to error in
counter of multikey index keys in tuple. It was partly fixed using
default non-nullability for tuple fields. In 2.3.3 the restriction on
nullable multikey index root was introduced. Now the counter problem is
fixed and all tuple fields are nullable by default as before 2.2.1.

Requested by @PersDep in tarantool/tarantool@bfeb61b.

@lenkis lenkis added 2.5 feature A new functionality reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality labels Sep 8, 2020
@Onvember Onvember changed the title tuple: allow nullable multikey index root [4pt] tuple: allow nullable multikey index root Sep 23, 2020
@Onvember Onvember added 2.6 and removed 2.5 labels Oct 8, 2020
@NickVolynkin NickVolynkin changed the title [4pt] tuple: allow nullable multikey index root tuple: allow nullable multikey index root Apr 21, 2021
@NickVolynkin NickVolynkin changed the title tuple: allow nullable multikey index root [2pt] tuple: allow nullable multikey index root Apr 21, 2021
@patiencedaur patiencedaur removed the 2.6 label Apr 18, 2022
@veod32 veod32 removed the 2sp label May 23, 2023
@andreyaksenov andreyaksenov self-assigned this Jul 10, 2023
@andreyaksenov andreyaksenov linked a pull request Jul 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants