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

box-switch_mode: reorganize the code responsible for entering/leaving master

mode

Reorganize the code responsible for entering/leaving master mode.

Remove remote_recovery_restart, add remote_recovery_{stop/stop},
make sure we know what to do - start or stop recovery.

Move 'remote_recovery' to struct recovery_state.

Remove an extra parameter to recover_follow_remote,
it's always the same currently.
parent c1725cf5
No related branches found
No related tags found
Loading
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