From 9b28b46a1d36493b181b46b0ed858f374dd9f9bd Mon Sep 17 00:00:00 2001 From: Xiaoxi Wang Date: Tue, 17 May 2022 14:10:01 -0700 Subject: [PATCH] remove duplicate recoveryCount++ --- fdbserver/ClusterRecovery.actor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/fdbserver/ClusterRecovery.actor.cpp b/fdbserver/ClusterRecovery.actor.cpp index a0f5c22875..0ed42e0e8c 100644 --- a/fdbserver/ClusterRecovery.actor.cpp +++ b/fdbserver/ClusterRecovery.actor.cpp @@ -1467,7 +1467,6 @@ ACTOR Future clusterRecoveryCore(Reference 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() ||