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

Document fetch_schema netbox option #2680

Closed
Tracked by #2646
TarantoolBot opened this issue Feb 11, 2022 · 0 comments
Closed
Tracked by #2646

Document fetch_schema netbox option #2680

TarantoolBot opened this issue Feb 11, 2022 · 0 comments
Assignees
Labels
2.10 add details [nature] More details needed, some info missing. Documentation is incomplete. netbox [area] Related to net.box reference [location] Tarantool manual, Reference part

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Feb 11, 2022

Product: Tarantool
Since: 2.10
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/net_box/
SME: @ olegrok

Add a more detailed description of the fetch_schema flag in the net.box doc.


Currently user could specify "fetch_schema" flag in netbox
connection to control schema fetching from remote instance.
In case if this option is false remote spaces will be unavailable
and on_schema_reload trigger won't work.

c = netbox.connect(uri, {fetch_schema = false})
c.space -- always will be nil
c:on_schema_reload(function() end) -- never will be triggered

Requested by @olegrok in tarantool/tarantool@58625f3.

olegrok added a commit to tarantool/cartridge that referenced this issue Feb 11, 2022
Cartridge uses only netbox.call and eval. So seems we could safety
disable schema fetching for netbox. New Tarantool versions allows
to disable schema fetching to avoid additional pressure that
schema fetching creates.

See also tarantool/doc#2680
@patiencedaur patiencedaur added netbox [area] Related to net.box add details [nature] More details needed, some info missing. Documentation is incomplete. labels Feb 14, 2022
filonenko-mikhail pushed a commit to tarantool/cartridge that referenced this issue Mar 31, 2022
Cartridge uses only netbox.call and eval. So seems we could safety
disable schema fetching for netbox. New Tarantool versions allows
to disable schema fetching to avoid additional pressure that
schema fetching creates.

See also tarantool/doc#2680
olegrok added a commit to tarantool/cartridge that referenced this issue Apr 27, 2022
Cartridge uses only netbox.call and eval. So seems we could safety
disable schema fetching for netbox. New Tarantool versions allows
to disable schema fetching to avoid additional pressure that
schema fetching creates.

See also tarantool/doc#2680
olegrok added a commit to tarantool/cartridge that referenced this issue Apr 27, 2022
Cartridge uses only netbox.call and eval. So seems we could safety
disable schema fetching for netbox. New Tarantool versions allows
to disable schema fetching to avoid additional pressure that
schema fetching creates.

See also tarantool/doc#2680
@patiencedaur patiencedaur added reference [location] Tarantool manual, Reference part 3sp labels Jul 7, 2022
@veod32 veod32 added 2.10 and removed 3sp labels Mar 6, 2023
@p7nov p7nov self-assigned this Jun 2, 2023
p7nov added a commit that referenced this issue Jun 5, 2023
Resolves #3399, #2680, #2459, #2405, #2262, #2273, #2483

* Add fetch_schema, reorder functions
* Remove console param of net.box.connect
* Fix translation or reconnect_after
* Remove conn.timeout() from reference
* Fix vshard bucket parameters
* Fix mertics description and link
@p7nov p7nov closed this as completed Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.10 add details [nature] More details needed, some info missing. Documentation is incomplete. netbox [area] Related to net.box reference [location] Tarantool manual, Reference part
Projects
None yet
Development

No branches or pull requests

4 participants