replay most recent event too

This commit is contained in:
Ted Blackman 2019-01-29 23:07:52 -08:00
parent 3fd90188a5
commit b118cefef3

View File

@ -953,10 +953,12 @@ _sist_rest()
u3A->ent_d = c3_max(las_d + 1ULL, old_d);
}
if ( cur_d == u3Z->lug_u.len_d ) {
if ( u3A->ent_d == old_d ) {
// Nothing in the log that was not also in the checkpoint.
//
c3_assert(u3A->ent_d == old_d);
// XX: reinstate this assertion
//
//c3_assert ( cur_d == u3Z->lug_u.len_d );
if ( las_d + 1 != old_d ) {
uL(fprintf(uH, "checkpoint and log disagree! las:%" PRIu64 " old:%" PRIu64 "\n",
las_d + 1, old_d));