vinyl: check existence of vinyl data directory on demand
It's inappropriate to fail startup if the vinyl data directory does not exist, because vinyl might not even be in use. Move the check to the time when a vinyl index is opened. See #2664
Showing
- src/box/vinyl.c 5 additions, 14 deletionssrc/box/vinyl.c
- src/box/vy_log.c 6 additions, 1 deletionsrc/box/vy_log.c
- test/box-tap/cfg.test.lua 2 additions, 1 deletiontest/box-tap/cfg.test.lua
- test/box/cfg.result 46 additions, 0 deletionstest/box/cfg.result
- test/box/cfg.test.lua 18 additions, 0 deletionstest/box/cfg.test.lua
- test/box/lua/cfg_bad_vinyl_dir.lua 9 additions, 0 deletionstest/box/lua/cfg_bad_vinyl_dir.lua
Loading
Please register or sign in to comment