config: change default paths to var/<...>
The new default directory layout is the following. ``` + var/ + lib/ + instance-001/ - *.xlog - *.snap - *.vylog + log/ + instance-001/ - tarantool.log + run/ + instance-001/ - tarantool.control - tarantool.pid ``` Our guess is that it should be convenient for development environments, when the application consists of several instances. The idea is borrowed from the `cartridge-cli` and `tt` tools. We plan to synchronize these defaults with the `tt` tool, to simplify cases, when pure tarantool (without `tt`) should be run in the directories layout created by `tt`. It should simplify debugging using `gdb`, `strace` and other tools. Also, it should reduce possible confusion for users of `cartridge-cli` and `tt`. Part of #8862 NO_DOC=https://github.com/tarantool/doc/issues/3544 already points to the actual instance config schema
Showing
- changelogs/unreleased/config-change-default-paths.md 4 additions, 0 deletionschangelogs/unreleased/config-change-default-paths.md
- src/box/lua/config/instance_config.lua 6 additions, 6 deletionssrc/box/lua/config/instance_config.lua
- test/config-luatest/appliers_test.lua 2 additions, 2 deletionstest/config-luatest/appliers_test.lua
- test/config-luatest/cli_test.lua 1 addition, 1 deletiontest/config-luatest/cli_test.lua
- test/config-luatest/cluster_config_schema_test.lua 6 additions, 6 deletionstest/config-luatest/cluster_config_schema_test.lua
- test/config-luatest/instance_config_schema_test.lua 6 additions, 6 deletionstest/config-luatest/instance_config_schema_test.lua
Loading