wal: fix wal_queue_max_size assignment during initial box.cfg
wal_queue_max_size took effect only after the initial box.cfg call, meaning that users with non-zero `replication_sync_timeout` still synced using the default 16 Mb queue size. In some cases the default was too big and the same issues described in #5536 arose. Fix this. Closes #10013 NO_DOC=bugfix (cherry picked from commit ab0f7913)
Showing
- changelogs/unreleased/gh-10013-wal-queue-max-size.md 4 additions, 0 deletionschangelogs/unreleased/gh-10013-wal-queue-max-size.md
- src/box/box.cc 2 additions, 0 deletionssrc/box/box.cc
- src/box/lua/load_cfg.lua 1 addition, 0 deletionssrc/box/lua/load_cfg.lua
- test/replication-luatest/gh_10013_wal_queue_max_size_test.lua 75 additions, 0 deletions.../replication-luatest/gh_10013_wal_queue_max_size_test.lua
Loading
Please register or sign in to comment