summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Dannenberg <matt.dannenberg@10gen.com>2013-12-19 16:24:50 -0500
committerDan Pasette <dan@mongodb.com>2014-03-09 11:27:35 -0400
commitdf5a9d90ebe21f23bd710377b32d5e1f523879b4 (patch)
treedd95d3d5dc3a58a6139a106db2b990d59c802812 /src
parentac5d61ca615f5028c32204f69bfd8aca7dbb152b (diff)
downloadmongo-df5a9d90ebe21f23bd710377b32d5e1f523879b4.tar.gz
SERVER-12170 stop calling relinquish() when replicaset nodes decide not to veto an election
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/repl/consensus.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/repl/consensus.cpp b/src/mongo/db/repl/consensus.cpp
index dcb31408c11..a2459477432 100644
--- a/src/mongo/db/repl/consensus.cpp
+++ b/src/mongo/db/repl/consensus.cpp
@@ -253,7 +253,6 @@ namespace mongo {
try {
vote = yea(whoid);
dassert( hopeful->id() == whoid );
- rs.relinquish();
log() << "replSet info voting yea for " << hopeful->fullName() << " (" << whoid << ')' << rsLog;
}
catch(VoteException&) {