-
Notifications
You must be signed in to change notification settings - Fork 15
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
crud.update() may use stale schema for metadata generation #236
Comments
3 tasks
3 tasks
GRISHNOV
added a commit
that referenced
this issue
Apr 5, 2023
Corrects using of an stale schema to generate metadata during `crud.update` working. Now `utils.get_space` using `schema_reload` before returning space to `crud.update` logic. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Apr 5, 2023
Corrects using of an stale schema to generate metadata during `crud.update` working. Now `utils.get_space` using `schema_reload` before returning space to `crud.update` logic. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Apr 24, 2023
Corrects using of an stale schema to generate metadata during `crud.update` working. Now `utils.get_space` using `schema_reload` before returning space to `crud.update` logic. Closes #236
GRISHNOV
added a commit
that referenced
this issue
May 10, 2023
Corrects using of an stale schema to generate metadata during `crud.update` working. Now `utils.get_space` using `schema_reload` before returning space to `crud.update` logic. Closes #236
This was referenced May 12, 2023
GRISHNOV
added a commit
that referenced
this issue
May 31, 2023
Corrects using of an stale schema to generate metadata during `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select` and `crud.get` working. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
May 31, 2023
Corrects using of an stale schema to generate metadata during `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select` and `crud.get` working. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 1, 2023
Corrects using of an stale schema to generate metadata during `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select` and `crud.get` working. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 1, 2023
Corrects using of an stale schema to generate metadata during `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select` and `crud.get` working. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 1, 2023
Corrects using of an stale schema to generate metadata during `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select` and `crud.get` working. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 3, 2023
Corrects using of an stale schema to generate metadata during `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select` and `crud.get` working. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 4, 2023
Corrects using of an stale schema to generate metadata during `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select` and `crud.get` working. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 5, 2023
Corrects using of an stale schema to generate metadata during `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select` and `crud.get` working. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 5, 2023
Corrects using of an stale schema to generate metadata for `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select`, `crud.pairs` and `crud.get`. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 5, 2023
Corrects using of an stale schema to generate metadata for `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select`, `crud.pairs` and `crud.get`. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 5, 2023
Corrects using of an stale schema to generate metadata for `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select`, `crud.pairs` and `crud.get`. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 5, 2023
Corrects using of an stale schema to generate metadata for `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select`, `crud.pairs` and `crud.get`. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 5, 2023
Corrects using of an stale schema to generate metadata for `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select`, `crud.pairs` and `crud.get`. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
GRISHNOV
added a commit
that referenced
this issue
Jun 5, 2023
Corrects using of an stale schema to generate metadata for `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select`, `crud.pairs` and `crud.get`. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
DifferentialOrange
pushed a commit
that referenced
this issue
Jun 6, 2023
Corrects using of an stale schema to generate metadata for `crud.update`, `crud.insert`, `crud.insert_*`, `crud.replace`, `crud.replace_*`, `crud.upsert`, `crud.upsert_*`, `crud.delete`, `crud.max`, `crud.min`, `crud.select`, `crud.pairs` and `crud.get`. If the implemented `fetch_latest_metadata` option is used, it is guaranteed that the metadata will be up-to-date. Before receiving the space format, a mismatch check will be performed between the scheme version on all involved storage and the scheme version in the net_box connection of the router. In case of mismatch, the schema reload will be triggered. Closes #236
DifferentialOrange
added a commit
that referenced
this issue
Jun 6, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
DifferentialOrange
added a commit
that referenced
this issue
Jun 6, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
DifferentialOrange
added a commit
that referenced
this issue
Jun 7, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
DifferentialOrange
added a commit
that referenced
this issue
Jun 7, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
DifferentialOrange
added a commit
that referenced
this issue
Jun 7, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
DifferentialOrange
added a commit
that referenced
this issue
Jun 7, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
DifferentialOrange
added a commit
that referenced
this issue
Jun 7, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
DifferentialOrange
added a commit
that referenced
this issue
Jun 7, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
Merged
DifferentialOrange
added a commit
that referenced
this issue
Jun 7, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
DifferentialOrange
added a commit
that referenced
this issue
Jun 7, 2023
Overview This release add two new flags: `noreturn` to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and `fetch_latest_metadata` to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%). New features * Add `noreturn` option for operations: `insert`, `insert_object`, `insert_many`, `insert_object_many`, `replace`, `replace_object`, `replace_many`, `insert_object_many`, `upsert`, `upsert_object`, `upsert_many`, `upsert_object_many`, `update`, `delete` (#267). Bugfixes * Crud DML operations returning stale schema for metadata generation. Now you may use `fetch_latest_metadata` flag to work with latest schema (#236).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We can change existing test to reveal the problem.
This patch does not change meaning of the test, just changes storage replicaset to work with.
After this, the test fails:
I looked at the problem a bit and my draft of the fix is the following:
Of course, we should look, whether it is fully correct: we use a space format from a 'wrong' connection before this code and, maybe, it should be revisited too.
I would also verify other operations for problems of this kind.
The text was updated successfully, but these errors were encountered: