config: introduce --force-recovery CLI option
This patch introduces a new CLI option: --force-recovery. Closes #8876 @TarantoolBot document Title: --force-recovery CLI option The --force-recovery CLI option is another way to set the box.cfg{} force_recovery option. The priority of this option is higher than the priority of the TT_FORCE_RECOVERY environment variable, but less than the priority of explicitly setting the box.cfg{} force_recovery option.
Showing
- changelogs/unreleased/gh-8876-force-recovery-cli-option.md 3 additions, 0 deletionschangelogs/unreleased/gh-8876-force-recovery-cli-option.md
- src/box/lua/cfg.cc 8 additions, 0 deletionssrc/box/lua/cfg.cc
- src/box/lua/load_cfg.lua 6 additions, 0 deletionssrc/box/lua/load_cfg.lua
- src/main.cc 5 additions, 0 deletionssrc/main.cc
- test/box-py/args.result 2 additions, 0 deletionstest/box-py/args.result
- test/config-luatest/cli_test.lua 61 additions, 0 deletionstest/config-luatest/cli_test.lua
Loading
Please register or sign in to comment