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).
Showing
- core/fiber.m 1 addition, 4 deletionscore/fiber.m
- core/iproto.m 2 additions, 2 deletionscore/iproto.m
- core/log_io.m 35 additions, 0 deletionscore/log_io.m
- include/iproto.h 1 addition, 1 deletioninclude/iproto.h
- include/log_io.h 22 additions, 0 deletionsinclude/log_io.h
- mod/box/box.m 16 additions, 11 deletionsmod/box/box.m
Loading
Please register or sign in to comment