diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2014-07-24 11:31:45 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2014-07-31 08:52:56 -0400 |
commit | 89c7ad5908ac27657a95588e0cbf5752d9e4a1cb (patch) | |
tree | 7a8f84393f52ec133fcada7d75c2f1044ba52217 /src/mongo/db/restapi.cpp | |
parent | 6cc8c43a1c7256434663734aac071dcdf657c24f (diff) | |
download | mongo-89c7ad5908ac27657a95588e0cbf5752d9e4a1cb.tar.gz |
SERVER-14443 implement canAcceptWritesForDatabase() and canServeReadsFor() in ReplicationCoordinatorImpl
also move replAllDead from master_slave to ReplicationCoordinator
Diffstat (limited to 'src/mongo/db/restapi.cpp')
-rw-r--r-- | src/mongo/db/restapi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/restapi.cpp b/src/mongo/db/restapi.cpp index d1a6430ff2d..f1399a22a65 100644 --- a/src/mongo/db/restapi.cpp +++ b/src/mongo/db/restapi.cpp @@ -288,6 +288,7 @@ namespace mongo { ss << a("", "see replSetGetStatus link top of page") << "--replSet </a>" << replSettings.replSet; } + // TODO(dannenberg) replAllDead is bad and should be removed when masterslave is removed if (repl::replAllDead) ss << "\n<b>replication replAllDead=" << repl::replAllDead << "</b>\n"; else { |