wal: fix failing assertion in box_wait_limbo_acked
Before this patch there was an execution sequence in which the assertion in box_wait_limbo_acked would fail. The assertion is that the lsn of the last entry in limbo is always positive after wal_sync. Fix it. Closes #9235 NO_DOC=bugfix (cherry picked from commit 59b817ef)
Showing
- changelogs/unreleased/gh-9235-assertion_in_box_wait_limbo_acked.md 9 additions, 0 deletions...s/unreleased/gh-9235-assertion_in_box_wait_limbo_acked.md
- src/box/box.cc 1 addition, 0 deletionssrc/box/box.cc
- test/replication-luatest/gh_9235_assertion_in_box_wait_limbo_acked_test.lua 99 additions, 0 deletions...uatest/gh_9235_assertion_in_box_wait_limbo_acked_test.lua
Loading
Please register or sign in to comment