box: fix finding snapshot in upgrade script
The upgrade script first tries to determine if the node is booted from old snaps not recoverable on current Tarantool versions. If this is the case, it sets up special triggers so that snaps are automatically converted to a suitable format. This happens before box.cfg{}, so the workdir is not set at this point in time, and the upgrade script should take configured work_dir into account explicitly. Fix this. Closes #7232 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-7232-upgrade-script-work-dir.md 4 additions, 0 deletionschangelogs/unreleased/gh-7232-upgrade-script-work-dir.md
- src/box/lua/load_cfg.lua 5 additions, 0 deletionssrc/box/lua/load_cfg.lua
- test/xlog/gh-5894-pre-1.7.7-upgrade.result 40 additions, 0 deletionstest/xlog/gh-5894-pre-1.7.7-upgrade.result
- test/xlog/gh-5894-pre-1.7.7-upgrade.test.lua 16 additions, 0 deletionstest/xlog/gh-5894-pre-1.7.7-upgrade.test.lua
- test/xlog/upgrade.lua 13 additions, 1 deletiontest/xlog/upgrade.lua
Loading
Please register or sign in to comment