-
Notifications
You must be signed in to change notification settings - Fork 15
Fix specifying vshard
sharding func
#314
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
Labels
bug
Something isn't working
Comments
AnaNek
added a commit
that referenced
this issue
Jul 22, 2022
Starting from 0.11.0 user can specify sharding func to calculate bucket_id with sharding func definition as a part of DDL schema or insert manually to the space `_ddl_sharding_func`. Right now ddl fails with setting schema with vshard sharding function. But even if this bug is fixed, there is also a bug on CRUD side. Inserting manually to the space `_ddl_sharding_func` showed that CRUD search vshard sharding func in `_G` but this approach doesn't work with vshard case. This patch allows to specify `vshard` sharding func inserting manually to the space `_ddl_sharding_func`. Closes #314
AnaNek
added a commit
that referenced
this issue
Jul 22, 2022
Starting from 0.11.0 user can specify sharding func to calculate bucket_id with sharding func definition as a part of DDL schema or insert manually to the space `_ddl_sharding_func`. Right now ddl fails with setting schema with vshard sharding function. But even if this bug is fixed, there is also a bug on CRUD side. Inserting manually to the space `_ddl_sharding_func` showed that CRUD search vshard sharding func in `_G` but this approach doesn't work with vshard case. This patch allows to specify `vshard` sharding func inserting manually to the space `_ddl_sharding_func`. Closes #314
2 tasks
AnaNek
added a commit
that referenced
this issue
Jul 27, 2022
Starting from 0.11.0 user can specify sharding func to calculate bucket_id with sharding func definition as a part of DDL schema or insert manually to the space `_ddl_sharding_func`. Right now ddl fails with setting schema with vshard sharding function. But even if this bug is fixed, there is also a bug on CRUD side. Inserting manually to the space `_ddl_sharding_func` showed that CRUD search vshard sharding func in `_G` but this approach doesn't work with vshard case. This patch allows to specify `vshard` sharding func inserting manually to the space `_ddl_sharding_func`. Closes #314
AnaNek
added a commit
that referenced
this issue
Jul 28, 2022
Starting from 0.11.0 user can specify sharding func to calculate bucket_id with sharding func definition as a part of DDL schema or insert manually to the space `_ddl_sharding_func`. Right now ddl fails with setting schema with vshard sharding function. But even if this bug is fixed, there is also a bug on CRUD side. Inserting manually to the space `_ddl_sharding_func` showed that CRUD search vshard sharding func in `_G` but this approach doesn't work with vshard case. This patch allows to specify `vshard` sharding func inserting manually to the space `_ddl_sharding_func`. Closes #314
AnaNek
added a commit
that referenced
this issue
Aug 23, 2022
Starting from 0.11.0 user can specify sharding func to calculate bucket_id with sharding func definition as a part of DDL schema or insert manually to the space `_ddl_sharding_func`. Right now ddl fails with setting schema with vshard sharding function. But even if this bug is fixed, there is also a bug on CRUD side. Inserting manually to the space `_ddl_sharding_func` showed that CRUD search vshard sharding func in `_G` but this approach doesn't work with vshard case. This patch allows to specify `vshard` sharding func inserting manually to the space `_ddl_sharding_func`. Closes #314
AnaNek
added a commit
that referenced
this issue
Aug 25, 2022
Starting from 0.11.0 user can specify sharding func to calculate bucket_id with sharding func definition as a part of DDL schema or insert manually to the space `_ddl_sharding_func`. Right now ddl fails with setting schema with vshard sharding function. But even if this bug is fixed, there is also a bug on CRUD side. Inserting manually to the space `_ddl_sharding_func` showed that CRUD search vshard sharding func in `_G` but this approach doesn't work with vshard case. This patch allows to specify `vshard` sharding func inserting manually to the space `_ddl_sharding_func`. Closes #314
AnaNek
added a commit
that referenced
this issue
Aug 29, 2022
Starting from 0.11.0 user can specify sharding func to calculate bucket_id with sharding func definition as a part of DDL schema or insert manually to the space `_ddl_sharding_func`. Right now ddl fails with setting schema with vshard sharding function. But even if this bug is fixed, there is also a bug on CRUD side. Inserting manually to the space `_ddl_sharding_func` showed that CRUD search vshard sharding func in `_G` but this approach doesn't work with vshard case. This patch allows to specify `vshard` sharding func inserting manually to the space `_ddl_sharding_func`. Closes #314
DifferentialOrange
added a commit
that referenced
this issue
Aug 29, 2022
Overview The main feature of this release is the full support of vshard sharding functions (see ddl 1.6.2 for corresponding ddl release). Breaking changes There are no breaking changes in the release. New features * `crud.storage_info` function to get storages status (#229). Bugfixes * Fix specifying `vshard` sharding funcs (#314).
DifferentialOrange
added a commit
that referenced
this issue
Aug 29, 2022
Overview The main feature of this release is the full support of vshard sharding functions (see ddl 1.6.2 for corresponding `ddl` release). Breaking changes There are no breaking changes in the release. New features * `crud.storage_info` function to get storages status (#229). Bugfixes * Fix specifying `vshard` sharding funcs (#314).
Merged
DifferentialOrange
added a commit
that referenced
this issue
Aug 29, 2022
Overview The main feature of this release is the full support of vshard sharding functions (see ddl 1.6.2 for corresponding `ddl` release). Breaking changes There are no breaking changes in the release. New features * `crud.storage_info` function to get storages status (#229). Bugfixes * Fix specifying `vshard` sharding funcs (#314).
DifferentialOrange
added a commit
that referenced
this issue
Aug 29, 2022
Overview The main feature of this release is the full support of vshard sharding functions (see ddl 1.6.2 for corresponding `ddl` release). Breaking changes There are no breaking changes in the release. New features * `crud.storage_info` function to get storages status (#229). Bugfixes * Fix specifying `vshard` sharding funcs (#314).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Starting from 0.11.0 user can specify sharding function to calculate bucket_id
with sharding func definition as a part of
DDL schema
or insert manually to the space
_ddl_sharding_func
.Right now
ddl
has a bug tarantool/ddl#91But even if this bug is fixed, there is also a bug on CRUD side.
Inserting manually to the space
_ddl_sharding_func
showedthat CRUD search
vshard
sharding func in_G
but thisapproach doesn't work with
vshard
case.The text was updated successfully, but these errors were encountered: