diff --git a/fdbserver/PaxosConfigConsumer.actor.cpp b/fdbserver/PaxosConfigConsumer.actor.cpp index 4ada8cf701..934efccfa3 100644 --- a/fdbserver/PaxosConfigConsumer.actor.cpp +++ b/fdbserver/PaxosConfigConsumer.actor.cpp @@ -40,6 +40,9 @@ struct QuorumVersion { }; class GetCommittedVersionQuorum { + // Set to the <secondToLastCommitted, lastCommitted> versions a quorum of + // ConfigNodes agree on, otherwise unset. + Promise<QuorumVersion> quorumVersion; std::vector<Future<Void>> actors; std::vector<ConfigFollowerInterface> cfis; std::map<Version, std::vector<ConfigFollowerInterface>> replies; @@ -52,9 +55,6 @@ class GetCommittedVersionQuorum { Version lastSeenVersion; size_t totalRepliesReceived{ 0 }; size_t maxAgreement{ 0 }; - // Set to the <secondToLastCommitted, lastCommitted> versions a quorum of - // ConfigNodes agree on, otherwise unset. - Promise<QuorumVersion> quorumVersion; // Stores the largest committed version out of all responses. Version largestCommitted{ 0 };