-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add new flag "return nothing" in options for DML operations #267
Comments
It is especially important for |
This patch introduces `noreturn` opt for some DML operarions (`insert`, `replace`, `update`, `delete`, `insert_many`, `replace_many`) which suppress returning successfully processed tuple(s). Closes #267
This patch introduces `noreturn` opt for some DML operarions (`insert`, `replace`, `update`, `delete`, `insert_many`, `replace_many`) which suppress returning successfully processed tuple(s). Closes #267
There is a question about what exactly "no value" value is. let's discuss existing API first. Core Tarantool So we have the following response alternatives for (at least partially) successful
(Bear in mind that in the case of the last three alternatives, we'll need to support noreturn for The main motivation of On the other hand, receiving (It is also worth to mention that in case of |
This patch introduces `noreturn` opt for some DML operarions (`insert`, `replace`, `update`, `delete`, `insert_many`, `replace_many`, `upsert_many`) which suppress returning successfully processed tuple(s). Closes #267
This patch introduces `noreturn` opt for some DML operarions (`insert`, `replace`, `update`, `delete`, `insert_many`, `replace_many`, `upsert_many`) which suppress returning successfully processed tuple(s). Closes #267
This patch introduces `noreturn` opt for some DML operarions (`insert`, `replace`, `update`, `delete`, `insert_many`, `replace_many`, `upsert_many`) which suppress returning successfully processed tuple(s). Closes #267
This patch introduces `noreturn` opt for some DML operarions (`insert`, `replace`, `update`, `delete`, `insert_many`, `replace_many`, `upsert_many`) which suppress returning successfully processed tuple(s). Closes #267
This patch introduces `noreturn` opt for some DML operarions (`insert`, `insert_object`, `replace`, `replace_object`, `update`, `delete`, `insert_many`, `replace_many`, `upsert_many`) which suppress returning successfully processed tuple(s). Closes #267
This patch introduces `noreturn` opt for DML operarions: `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`. The opt allows to suppress returning successfully processed tuple(s). Closes #267
This patch introduces `noreturn` opt for DML operarions: `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`. The opt allows to suppress returning successfully processed tuple(s). Closes #267
This patch introduces `noreturn` opt for DML operarions: `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`. The opt allows to suppress returning successfully processed tuple(s). Closes #267
This patch introduces `noreturn` opt for DML operarions: `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`. The opt allows to suppress returning successfully processed tuple(s). Closes #267
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
It is necessary to add the "return nothing" flag to the options of such functions as: truncate(), replace(), etc. Where the return of a function is not so important, but performance may be required.
The same was in TDG2 https://github.com/tarantool/tdg2/issues/1450
The text was updated successfully, but these errors were encountered: