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

config: compat options #3937

Closed
TarantoolBot opened this issue Dec 18, 2023 · 0 comments · Fixed by #4352
Closed

config: compat options #3937

TarantoolBot opened this issue Dec 18, 2023 · 0 comments · Fixed by #4352
Assignees

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Dec 18, 2023

Related dev. issue(s): tarantool/tarantool#9497
Duplicate: #4021

Product: Tarantool
Since: 3.0
Root document:

SME: @ Totktonada

Details

The new section compat is added to the declarative configuration.

The options are the same as ones provided by the compat module. Each
can be set to old or new.

Example:

compat:
  json_escape_forward_slash: old

The list of currently supported options with their defaults:

compat:
  json_escape_forward_slash: new
  yaml_pretty_multiline: new
  fiber_channel_close_mode: new
  box_cfg_replication_sync_timeout: new
  sql_seq_scan_default: new
  fiber_slice_default: new
  box_info_cluster_meaning: new
  binary_data_decoding: new
  box_tuple_new_vararg: new
  box_session_push_deprecation: old
  sql_priv: new
  c_func_iproto_multireturn: new
  box_space_execute_priv: new
  box_tuple_extension: new
  box_space_max: new
...

The box_cfg_replication_sync_timeout option is non-dynamic and it
can't be changed after a startup.

Technically, all the other options could be changed in runtime (by
changing the configuration file and calling config:reload()), but I
would not generally recommend it.

At least code that handles fiber_channel_close_mode option has the
following comment, see commit de9b93081873 ("fiber: add channel close
mode option to compat").

The behavior is unspecified for already created channels.
Choose the mode at an early stage of application's
initialization.

Requested by @ Totktonada in tarantool/tarantool@317dc03.

@andreyaksenov andreyaksenov self-assigned this Dec 21, 2023
@andreyaksenov andreyaksenov removed their assignment Dec 21, 2023
@p7nov p7nov self-assigned this Jul 9, 2024
p7nov added a commit that referenced this issue Jul 12, 2024
Resolves #3937 

Co-authored-by: Andrey Aksenov <38073144+andreyaksenov@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants