remove duplicate recoveryCount++

This commit is contained in:
Xiaoxi Wang 2022-05-17 14:10:01 -07:00
parent 8e2a78bf3c
commit 9b28b46a1d
1 changed files with 0 additions and 1 deletions

View File

@ -1467,7 +1467,6 @@ ACTOR Future<Void> clusterRecoveryCore(Reference<ClusterRecoveryData> self) {
DBCoreState newState = self->cstate.myDBState;
newState.recoveryCount++;
newState.recoveryCount++;
if (self->cstate.prevDBState.newestProtocolVersion.isInvalid() ||
self->cstate.prevDBState.newestProtocolVersion < currentProtocolVersion) {
ASSERT(self->cstate.myDBState.lowestCompatibleProtocolVersion.isInvalid() ||