Skip to content
Snippets Groups Projects
Commit d8964110 authored by Serge Petrenko's avatar Serge Petrenko Committed by Kirill Yukhin
Browse files

box: fix an assertion failure in box.ctl.promote()

box.ctl.promote() used to assume that the last synchronous entry is
already written to WAL by the time it's called. This is not the case
when promote is executed on the limbo owner. The last synchronous entry
might still be en route to WAL.

In order to fix the issue, wait until all the limbo entries are written
to disk via wal_sync(). After this happens, it's safe to proceed to
gathering quorum in promote.

Closes #6032
parent e18b9ee6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment