main: fix recovery resync

This commit is contained in:
Thomas Schoebel-Theuer 2020-07-05 15:13:26 +02:00
parent f6335e4625
commit be5e9aa5ae
1 changed files with 3 additions and 0 deletions

View File

@ -4556,6 +4556,9 @@ int make_log_finalize(struct mars_global *global, struct mars_dent *dent)
rot->next_relevant_log->d_rest,
rot->next_relevant_log->d_serial,
0);
rot->next_relevant_log = NULL;
rot->aio_brick = NULL;
goto done;
/* Designated primary must exceptionally accept a damaged
* logfile without successor for recovery under all circumstances.
*/