restartEpoch method
void
restartEpoch()
Server restart: seq restarts at 0 and the buffer is emptied (clients see a new epoch).
Implementation
void restartEpoch() {
_seq = 0;
_ring.clear();
}
Server restart: seq restarts at 0 and the buffer is emptied (clients see a new epoch).
void restartEpoch() {
_seq = 0;
_ring.clear();
}