Skip to content
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

Support new _index system space format #151

Closed
Totktonada opened this issue Mar 17, 2020 · 0 comments · Fixed by #164
Closed

Support new _index system space format #151

Totktonada opened this issue Mar 17, 2020 · 0 comments · Fixed by #164
Assignees
Labels
feature A new functionality

Comments

@Totktonada
Copy link
Member

After tarantool-1.7.5-153-g1651fc9be the new _index format was introduced. We should support it to fetch a schema from a tarantool-1.7.5.153+ instance.

When an index parts do not use parameters except name and type the index info is stored in the old format in _index system space and the connector works. When an index part uses is_nullable or collation parameter, the the new format will be used and the connector will not work (will fail on schema fetching as in #127).

All system spaces except _func uses the old _index format. The _func system space has a secondary index with unicode_ci collation on several tarantool versions:

However if a user defines a space with an index with is_nullable or collation index part parameters, then, again, the schema fetching will not work.

@Totktonada Totktonada added the feature A new functionality label Mar 17, 2020
Totktonada added a commit that referenced this issue Mar 18, 2020
Temporary disabled php 7.1+ and RPM/Deb packages to get working tests on
php 7.0 first.

Added testing against different tarantool versions.

Temporary disabled tarantool-2.2 testing due to lack of support of the
new schema format (see #151).
Totktonada added a commit that referenced this issue Mar 19, 2020
Temporary disabled php 7.1+ and RPM/Deb packages to get working tests on
php 7.0 first.

Added testing against different tarantool versions.

Temporary disabled tarantool-2.2 testing due to lack of support of the
new schema format (see #151).
Totktonada added a commit that referenced this issue Mar 20, 2020
Temporary disabled php 7.1+ and RPM/Deb packages to get working tests on
php 7.0 first.

Added testing against different tarantool versions.

Temporary disabled tarantool-2.2 testing due to lack of support of the
new schema format (see #151).
@Totktonada Totktonada added this to the PHP 7.* + bugfixes milestone Mar 23, 2020
Totktonada added a commit that referenced this issue Mar 28, 2020
Temporary disabled php 7.1+ and RPM/Deb packages to get working tests on
php 7.0 first.

Added testing against different tarantool versions.

Temporary disabled tarantool-2.2 testing due to lack of support of the
new schema format (see #151).
LeonidVas added a commit that referenced this issue Jul 3, 2020
To simplify adding further changes, move decoding index parts to
a separate function and update it in accordance with the decoding
function from tarantool.

Part of #151
LeonidVas added a commit that referenced this issue Jul 3, 2020
Add collation and is_nullable opts to schema_field_value.

Part of #151
LeonidVas added a commit that referenced this issue Jul 3, 2020
Update processing the field type in accordance with the same in tarantool.

Part of #151
LeonidVas added a commit that referenced this issue Jul 3, 2020
After tarantool-1.7.5-153-g1651fc9be the new _index format was
introduced. We should support it to fetch a schema from
a tarantool-1.7.5.153+ instance.
When an index parts do not use parameters except name and type
the index info is stored in the old format in _index system space.
When an index part uses is_nullable or collation parameter, then
the new format will be used.

Close #151
@LeonidVas LeonidVas linked a pull request Jul 17, 2020 that will close this issue
LeonidVas added a commit that referenced this issue Jul 17, 2020
To simplify adding further changes, move decoding index parts to
a separate function and update it in accordance with the decoding
function from tarantool.

Part of #151
LeonidVas added a commit that referenced this issue Jul 17, 2020
Add collation and is_nullable opts to schema_field_value.

Part of #151
LeonidVas added a commit that referenced this issue Jul 17, 2020
Update processing the field type in accordance with the same in tarantool.

Part of #151
LeonidVas added a commit that referenced this issue Jul 17, 2020
After tarantool-1.7.5-153-g1651fc9be the new _index format was
introduced. We should support it to fetch a schema from
a tarantool-1.7.5.153+ instance.
When an index parts do not use parameters except name and type
the index info is stored in the old format in _index system space.
When an index part uses is_nullable or collation parameter, then
the new format will be used.

Close #151
LeonidVas added a commit that referenced this issue Jul 17, 2020
Update processing the field type in accordance with the same in tarantool.

Part of #151
LeonidVas added a commit that referenced this issue Jul 17, 2020
After tarantool-1.7.5-153-g1651fc9be the new _index format was
introduced. We should support it to fetch a schema from
a tarantool-1.7.5.153+ instance.
When an index parts do not use parameters except name and type
the index info is stored in the old format in _index system space.
When an index part uses is_nullable or collation parameter, then
the new format will be used.

Close #151
LeonidVas added a commit that referenced this issue Jul 17, 2020
After tarantool-1.7.5-153-g1651fc9be the new _index format was
introduced. We should support it to fetch a schema from
a tarantool-1.7.5.153+ instance.
When an index parts do not use parameters except name and type
the index info is stored in the old format in _index system space.
When an index part uses is_nullable or collation parameter, then
the new format will be used.

Close #151
LeonidVas added a commit that referenced this issue Jul 21, 2020
To simplify adding further changes, move decoding index parts to
a separate function and update it in accordance with the decoding
function from tarantool.

Part of #151
LeonidVas added a commit that referenced this issue Jul 21, 2020
Add collation and is_nullable opts to schema_field_value.

Part of #151
LeonidVas added a commit that referenced this issue Jul 21, 2020
Update processing the field type in accordance with the same in tarantool.

Part of #151
LeonidVas added a commit that referenced this issue Jul 21, 2020
After tarantool-1.7.5-153-g1651fc9be the new _index format was
introduced. We should support it to fetch a schema from
a tarantool-1.7.5.153+ instance.
When an index parts do not use parameters except name and type
the index info is stored in the old format in _index system space.
When an index part uses is_nullable or collation parameter, then
the new format will be used.

Close #151
LeonidVas added a commit that referenced this issue Jul 21, 2020
After tarantool-1.7.5-153-g1651fc9be the new _index format was
introduced. We should support it to fetch a schema from
a tarantool-1.7.5.153+ instance.
When an index parts do not use parameters except name and type
the index info is stored in the old format in _index system space.
When an index part uses is_nullable or collation parameter, then
the new format will be used.

Close #151
Totktonada pushed a commit that referenced this issue Jul 23, 2020
To simplify adding further changes, move decoding index parts to
a separate function and update it in accordance with the decoding
function from tarantool.

Part of #151
Totktonada pushed a commit that referenced this issue Jul 23, 2020
Add collation and is_nullable opts to schema_field_value.

Part of #151
Totktonada pushed a commit that referenced this issue Jul 23, 2020
Update processing the field type in accordance with the same in tarantool.

Part of #151
Totktonada pushed a commit that referenced this issue Jul 23, 2020
After tarantool-1.7.5-153-g1651fc9be the new _index format was
introduced. We should support it to fetch a schema from
a tarantool-1.7.5.153+ instance.
When an index parts do not use parameters except name and type
the index info is stored in the old format in _index system space.
When an index part uses is_nullable or collation parameter, then
the new format will be used.

Close #151
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants