mirror of https://github.com/schoebel/mars
main: fix replay_code report in primary mode
After a primary --force, the error couldn't go away in case of a defective logfile. Months later, sysadmins were needlessly alarmed when looking at the primary.
This commit is contained in:
parent
e969219fca
commit
3c244706a5
|
@ -3769,8 +3769,10 @@ int make_log_finalize(struct mars_global *global, struct mars_dent *dent)
|
|||
} else if (rot->replay_code >= 0) {
|
||||
rot->replay_code = trans_brick->replay_code;
|
||||
}
|
||||
__show_actual(parent->d_path, "replay-code", rot->replay_code);
|
||||
} else {
|
||||
rot->replay_code = 0;
|
||||
}
|
||||
__show_actual(parent->d_path, "replay-code", rot->replay_code);
|
||||
|
||||
/* Stopping is also possible in case of errors
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue