config: fix leader failing to start when uuids are set
Currently a leader fails to start with `attempt to index a nil value`
error, when all UUIDs are specified in config. This is caused by the
fact, that we try to apply names to the instance, which have not joined
yet, _cluster record doesn't exist.
We must skip such names. Alert will be dropeed automatically as soon as
the instance is joined.
Closes #9572
NO_DOC=bugfix
Co-authored-by:
Alexander Turenko <totktonada.ru@gmail.com>
Showing
- changelogs/unreleased/gh_9572_config_with_uuids.md 5 additions, 0 deletionschangelogs/unreleased/gh_9572_config_with_uuids.md
- src/box/lua/config/applier/box_cfg.lua 6 additions, 2 deletionssrc/box/lua/config/applier/box_cfg.lua
- test/config-luatest/gh_9572_config_with_uuids_test.lua 39 additions, 0 deletionstest/config-luatest/gh_9572_config_with_uuids_test.lua
Loading
Please register or sign in to comment