summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/repl/repl_coordinator_mock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/repl_coordinator_mock.cpp b/src/mongo/db/repl/repl_coordinator_mock.cpp
index d400b56cbd7..c569c64a4ed 100644
--- a/src/mongo/db/repl/repl_coordinator_mock.cpp
+++ b/src/mongo/db/repl/repl_coordinator_mock.cpp
@@ -75,12 +75,12 @@ namespace repl {
bool ReplicationCoordinatorMock::canAcceptWritesForDatabase(const StringData& dbName) {
// TODO
- return false;
+ return true;
}
bool ReplicationCoordinatorMock::canServeReadsFor(const NamespaceString& collection) {
// TODO
- return false;
+ return true;
}
bool ReplicationCoordinatorMock::shouldIgnoreUniqueIndex(const IndexDescriptor* idx) {