Skip to content

vshard: introduce connection_fetch_schema config option #5144

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

Open
TarantoolBot opened this issue May 28, 2025 · 1 comment
Open

vshard: introduce connection_fetch_schema config option #5144

TarantoolBot opened this issue May 28, 2025 · 1 comment
Assignees

Comments

@TarantoolBot
Copy link
Collaborator

Root document: https://www.tarantool.io/ru/doc/latest/reference/reference_rock/vshard/vshard_ref/

A new configuration option connection_fetch_schema has been added.

It controls whether vshard connections should fetch the database schema
(to allow using conn.schema.<...> or conn.space.<space_name>).

vshard itself doesn’t need this fetching at all, so you can safely set
connection_fetch_schema = false - as long as you’re not relying on its
internal connections. This will improve performance.

By default, it’s set to true (enabled) for backward compatibility.
Requested by @Astronomax in tarantool/vshard@c83deb1.

@veod32
Copy link
Collaborator

veod32 commented May 29, 2025

@lenkis Please estimate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants