config: create parent directories in mkdir applier
Before this patch an attempt to set, say, `wal.dir` option to a non-existent directory `foo` succeeds, while the same with `foo/bar` directory fails. The patch removes a race condition check, because `fio.mktree()` performs the check on its own. See #4660 for details. Part of #8862 NO_DOC=It is a bugfix.
Showing
- changelogs/unreleased/config-create-parent-directories.md 4 additions, 0 deletionschangelogs/unreleased/config-create-parent-directories.md
- src/box/lua/config/applier/mkdir.lua 3 additions, 14 deletionssrc/box/lua/config/applier/mkdir.lua
- test/config-luatest/mkdir_test.lua 24 additions, 0 deletionstest/config-luatest/mkdir_test.lua
test/config-luatest/mkdir_test.lua
0 → 100644
Please register or sign in to comment