config: create dirs relative to process.work_dir
The current working directory of a tarantool process is changed during startup to `process.work_dir`. The mkdir applier works before and after this point, so it should take into account both situations. Before first box.cfg() call (in the box_cfg applier) it should prepend directories with `process.work_dir`. However, it shouldn't do that after the current wordking directory change. Part of #8862 NO_DOC=It is bugfix.
Showing
- changelogs/unreleased/config-create-parent-directories.md 2 additions, 0 deletionschangelogs/unreleased/config-create-parent-directories.md
- src/box/lua/config/applier/mkdir.lua 23 additions, 12 deletionssrc/box/lua/config/applier/mkdir.lua
- test/config-luatest/mkdir_test.lua 57 additions, 0 deletionstest/config-luatest/mkdir_test.lua
Please register or sign in to comment