Skip to content
Snippets Groups Projects
Commit f120b7cc authored by Alexander Turenko's avatar Alexander Turenko Committed by Alexander Turenko
Browse files

config: validate instance/replicaset/group names

Recently added persistent instance/replicaset/cluster names have certain
validation rules (see #5029 and #9148). An instance name and a
replicaset name that are provided in a declarative configuration are
stored in the database, so they should follow the same rules.

This patch implements the validation for instance/replicaset/group
names, for `--name` CLI option and `TT_INSTANCE_NAME` environment
variable.

Part of #8862
Related to #9148

NO_DOC=The user visible change is about a better error message if a
       wrong name is passed. The naming rules are documented in
       https://github.com/tarantool/doc/issues/3466,
       https://github.com/tarantool/doc/issues/3467,
       https://github.com/tarantool/doc/issues/3468.
parent 761273f2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment