diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2016-02-07 16:04:18 -0500 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2016-02-09 14:19:26 -0500 |
commit | d84483b8a6a9890c2c93f267d8c28969dc563c37 (patch) | |
tree | 61d3a4e4934a5cbe45e1679e8ac8eef9ce470467 /src/mongo/db/repl/repl_set_request_votes_args.h | |
parent | 8fce2322ec5a85181792cbf8a950e1ac14805578 (diff) | |
download | mongo-renamerequestvotes.tar.gz |
SERVER-22505 describe RequestVotes OpTime as durable rather than committedrenamerequestvotes
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.h | 8 |
1 files changed, 4 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 12541650798..7f1cf3bc72e 100644 --- a/src/mongo/db/repl/repl_set_request_votes_args.h +++ b/src/mongo/db/repl/repl_set_request_votes_args.h @@ -46,7 +46,7 @@ public: long long getTerm() const; long long getCandidateIndex() const; long long getConfigVersion() const; - OpTime getLastCommittedOp() const; + OpTime getLastDurableOpTime() const; bool isADryRun() const; void addToBSON(BSONObjBuilder* builder) const; @@ -56,9 +56,9 @@ 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. - OpTime _lastCommittedOp; // The last known committed op of the command issuer. - bool _dryRun = false; // Indicates this is a pre-election check when true. + 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. }; class ReplSetRequestVotesResponse { |