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
net.box schema contains collation_id (number) instead of collation (string) #3941
Comments
It also worth to handle the case when we connect to a quite old tarantool w/o _collation system space at all. It should not lead to an error, but parts should be shown w/o 'collation' field instead. |
If the key_def module created in the scope of #3276 will land before this patch it is necessary to remove |
Add "_vcollation" sysview to read it from net.box. This sysview is always readable, exept when the user doesn't have "public" role. Needed for #3941
Fetch "_vcollation" sysview to show collation name instead collation id. Closes #3941
Add "_vcollation" sysview to read it from net.box. This sysview is always readable, exept when the user doesn't have "public" role. Needed for #3941
Fetch "_vcollation" sysview to show collation name instead collation id. Closes #3941
Add "_vcollation" sysview to read it from net.box. This sysview is always readable, exept when the user doesn't have "public" role. Needed for #3941
Fetch "_vcollation" sysview to show collation name instead collation id. Closes #3941
Fetch "_vcollation" sysview to show collation name instead collation id. Closes #3941
Add "_vcollation" sysview to read it from net.box. This sysview is always readable, exept when the user doesn't have "public" role. Needed for #3941
Fetch "_vcollation" sysview to show collation name instead collation id. Closes #3941
Fetch "_vcollation" sysview to show collation name instead collation id. Closes #3941
Pushing this one to 1.10 would be tricky as it upgrades the schema to create _vcollation space. If we had to update the upgrade script both in 1.10 and 2.1 and master, then in master and 2.1 we'd have to handle the case when the space already exists (i.e. it was created by upgrade to a previous version), which is kinda ugly. Do we really need _vcollation to backport the merger to 1.10? As a matter of fact, do we really need to backport the merger to 1.10? |
Now it seems that we should not backport merger to 1.10, the demand is gone. So this patch can be implemented for master only. |
Okay then. Moving back to 2.2. |
Add "_vcollation" sysview to read it from net.box. This sysview is always readable, except when a user doesn't have "public" role. Needed for #3941 @TarantoolBot document Title: box.space._vcollation _vcollation is a system space that represents a virtual view. The structure of its tuples is identical to that of _collation. Tuples of this sysview is always readable, except when the user doesn't have "public" role.
Fetch "_vcollation" sysview to show collation name instead collation id. Closes #3941
Add "_vcollation" sysview to read it from net.box. This sysview is always readable, except when a user doesn't have "public" role. Needed for #3941 @TarantoolBot document Title: box.space._vcollation _vcollation is a system space that represents a virtual view. The structure of its tuples is identical to that of _collation. Tuples of this sysview is always readable, except when the user doesn't have "public" role.
Fetch "_vcollation" sysview to show collation name instead collation id. Closes #3941
Add "_vcollation" sysview to read it from net.box. This sysview is always readable, except when a user doesn't have "public" role. Needed for #3941 @TarantoolBot document Title: box.space._vcollation _vcollation is a system space that represents a virtual view. The structure of its tuples is identical to that of _collation. Tuples of this sysview is always readable, except when the user doesn't have "public" role.
How to reproduce (on clean instance, because no box.once is used):
As we see local box provides
collation
field, but net.box providescollation_id
. There are two reasons why this looks as a problem for me:How can be implemented:
net.box can acquire and use info from _collation space.
The text was updated successfully, but these errors were encountered: