config: create process.work_dir before box.cfg()
The `process.work_dir` option can be set in the configuration. All the other directories/files has the before-box-cfg creation logic and it seems meaningful to support it for `process.work_dir` too. Part of #8862 NO_DOC=This change is too minor to describe in the documentation issue https://github.com/tarantool/doc/issues/3544. I'll work with the documentation team regarding details of startup/reload flow and we'll determine what should go to the user documentation and what shouldn't.
Showing
- changelogs/unreleased/config-create-parent-directories.md 1 addition, 0 deletionschangelogs/unreleased/config-create-parent-directories.md
- src/box/lua/config/applier/mkdir.lua 12 additions, 0 deletionssrc/box/lua/config/applier/mkdir.lua
- src/box/lua/config/instance_config.lua 4 additions, 0 deletionssrc/box/lua/config/instance_config.lua
- test/config-luatest/helpers.lua 1 addition, 1 deletiontest/config-luatest/helpers.lua
- test/config-luatest/mkdir_test.lua 45 additions, 0 deletionstest/config-luatest/mkdir_test.lua
Loading
Please register or sign in to comment