summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/repl_set_request_votes_args.h
diff options
context:
space:
mode:
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.h5
1 files changed, 1 insertions, 4 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 1dc74eb4f12..dfecbdba4d4 100644
--- a/src/mongo/db/repl/repl_set_request_votes_args.h
+++ b/src/mongo/db/repl/repl_set_request_votes_args.h
@@ -47,7 +47,6 @@ public:
long long getTerm() const;
long long getCandidateIndex() const;
long long getConfigVersion() const;
- long long getConfigTerm() const;
OpTime getLastDurableOpTime() const;
bool isADryRun() const;
@@ -59,9 +58,7 @@ private:
long long _term = -1; // Current known term of the command issuer.
// replSet config index of the member who sent the replSetRequestVotesCmd.
long long _candidateIndex = -1;
- long long _cfgver = -1; // replSet config version known to the command issuer.
- // replSet config term known to the command issuer.
- long long _cfgterm = OpTime::kUninitializedTerm;
+ long long _cfgver = -1; // replSet config version known to the command issuer.
OpTime _lastDurableOpTime; // The last known durable op of the command issuer.
bool _dryRun = false; // Indicates this is a pre-election check when true.
};