marsadm: fix "up" when sync cannot be turned on

This commit is contained in:
Thomas Schoebel-Theuer 2018-06-27 16:24:28 +02:00
parent 3db971e0d2
commit 27db7b6299
1 changed files with 4 additions and 1 deletions

View File

@ -3058,7 +3058,10 @@ sub up_res_phase1 {
} else {
attach_res_phase1("attach", $res);
fetch_local_res("resume-fetch-local", $res);
pause_sync_local_res("resume-sync-local", $res);
# ignore ldie on sync, just do all the rest
eval {
pause_sync_local_res("resume-sync-local", $res);
};
pause_replay_local_res("resume-replay-local", $res);
}
}