Skip to content
Snippets Groups Projects
Commit 3e10dc50 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

box-switch_mode: sync the WAL before becoming a replica

Make sure we do not have pending updates prior to turning
on remote recovery.

Get rid of the boolean variable 'box_updates_allowed'
and pass a function pointer to iproto_interact
instead (one less 'if' on the way of the most common
execution flow).
parent 7bd374f9
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