summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-10-29 07:19:38 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2014-10-29 11:48:33 -0400
commitb54f6d47985d09884ee6ec17bed1b952e713eabe (patch)
tree4d7a675f22cca6881f472d9611e57f97e47942a8 /src
parent4abd12a3c899f9c06bf0ca26877ca536635b1ebf (diff)
downloadmongo-b54f6d47985d09884ee6ec17bed1b952e713eabe.tar.gz
SERVER-15817 eliminate done TODOs (TODONEs)
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/repl/check_quorum_for_config_change_test.cpp1
-rw-r--r--src/mongo/db/repl/repl_coordinator.h8
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/repl/check_quorum_for_config_change_test.cpp b/src/mongo/db/repl/check_quorum_for_config_change_test.cpp
index 40a0fdb181a..22b30cfeda4 100644
--- a/src/mongo/db/repl/check_quorum_for_config_change_test.cpp
+++ b/src/mongo/db/repl/check_quorum_for_config_change_test.cpp
@@ -750,7 +750,6 @@ namespace {
ASSERT_REASON_CONTAINS(status, "no electable nodes responded");
}
- // TODO: Succeed with minimal quorum.
TEST_F(CheckQuorumForReconfig, QuorumCheckSucceedsWithAsSoonAsPossible) {
// In this test, "we" are host "h4". Only "h1", "h2" and "h3" can vote.
// This test should succeed as soon as h1 and h2 respond, so we block
diff --git a/src/mongo/db/repl/repl_coordinator.h b/src/mongo/db/repl/repl_coordinator.h
index 5e45608c292..e853ecf5614 100644
--- a/src/mongo/db/repl/repl_coordinator.h
+++ b/src/mongo/db/repl/repl_coordinator.h
@@ -190,9 +190,6 @@ namespace repl {
* ErrorCodes::NotMaster if you are no longer primary when trying to step down,
* ErrorCodes::SecondaryAheadOfPrimary if we are primary but there is another node that
* seems to be ahead of us in replication, and Status::OK otherwise.
- * TODO(spencer): SERVER-14251 This should block writes while waiting for other nodes to
- * catch up, and then should wait till a secondary is completely caught up rather than
- * within 10 seconds.
*/
virtual Status stepDown(OperationContext* txn,
bool force,
@@ -200,11 +197,6 @@ namespace repl {
const Milliseconds& stepdownTime) = 0;
/**
- * TODO a way to trigger an action on replication of a given operation
- */
- // handle_t onReplication(OpTime ts, writeConcern, callbackFunction); // TODO
-
- /**
* Returns true if the node can be considered master for the purpose of introspective
* commands such as isMaster() and rs.status().
*/