You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// the client should have specified the last index it had gotten
542
+
if (server->tosend==m->index+1) {
543
+
shout(
544
+
"[from %d] the last index I have is %d, but"
545
+
" I still refuse, this should not happen\n",
546
+
sender, m->index
547
+
);
548
+
assert(false);
549
+
}
540
550
server->tosend=m->index+1;
541
551
}
542
552
assert(server->tosend >= server->acked); // FIXME: remove this, because 'tosend' is actually allowed to be less than 'acked' if the follower has restarted
0 commit comments