mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 13:54:20 +03:00
Expound on sequence number difference assert
Try to stop epople deleting their piers when this happens so we can figure out what's going on here...
This commit is contained in:
parent
c6ef1fba01
commit
7aea3bd148
10
v/sist.c
10
v/sist.c
@ -998,7 +998,15 @@ _sist_rest(u2_reck* rec_u)
|
||||
// Nothing in the log that was not also in the checkpoint.
|
||||
//
|
||||
c3_assert(rec_u->ent_w == old_w);
|
||||
c3_assert((las_w + 1) == old_w);
|
||||
//c3_assert((las_w + 1) == old_w);
|
||||
if ( las_w + 1 != old_w ) {
|
||||
uL(fprintf(uH, "checkpoint and log disagree! las:%u old:%u\n",
|
||||
las_w + 1, old_w));
|
||||
uL(fprintf(uH, "Some events appear to be missing from the log.\n"
|
||||
"Please contact the authorities, "
|
||||
"and do not delete your pier!\n"));
|
||||
u2_lo_bail(rec_u);
|
||||
}
|
||||
}
|
||||
else {
|
||||
u2_noun rou = roe;
|
||||
|
Loading…
Reference in New Issue
Block a user