summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/repl_set_request_votes_args.h
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2020-02-10 15:15:07 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-10 20:52:39 +0000
commitd80b24a633107f81fcdd2cb7cf9ce0dec89802a1 (patch)
tree75c4e594921c15474e5890b048819710dc833ca8 /src/mongo/db/repl/repl_set_request_votes_args.h
parente8887c0a8015c4f1dff5f8db040584c3eae81bfe (diff)
downloadmongo-d80b24a633107f81fcdd2cb7cf9ce0dec89802a1.tar.gz
SERVER-45082 Utilize ConfigVersionAndTerm structure for comparison and string formatting
Diffstat (limited to 'src/mongo/db/repl/repl_set_request_votes_args.h')
-rw-r--r--src/mongo/db/repl/repl_set_request_votes_args.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/repl/repl_set_request_votes_args.h b/src/mongo/db/repl/repl_set_request_votes_args.h
index f17f25a3bbd..c86429e79ed 100644
--- a/src/mongo/db/repl/repl_set_request_votes_args.h
+++ b/src/mongo/db/repl/repl_set_request_votes_args.h
@@ -32,6 +32,7 @@
#include <string>
#include "mongo/db/repl/optime.h"
+#include "mongo/db/repl/repl_set_config.h"
namespace mongo {
@@ -48,6 +49,7 @@ public:
long long getCandidateIndex() const;
long long getConfigVersion() const;
long long getConfigTerm() const;
+ ConfigVersionAndTerm getConfigVersionAndTerm() const;
OpTime getLastDurableOpTime() const;
bool isADryRun() const;