summaryrefslogtreecommitdiff
path: root/src/mongo/s/server.cpp
diff options
context:
space:
mode:
authorTad Marshall <tad@10gen.com>2013-08-04 08:20:47 -0400
committerTad Marshall <tad@10gen.com>2013-08-04 08:20:47 -0400
commit7f239865b136a6aef682cb114fc871b0c81a70b8 (patch)
treecaa80becaff18e21b76146cf8d73b8479ca3a829 /src/mongo/s/server.cpp
parentf141a861efcbefd72101544c8990fdff7ca27741 (diff)
downloadmongo-7f239865b136a6aef682cb114fc871b0c81a70b8.tar.gz
Revert "SERVER-9518 Initialize user cache on process startup"
This reverts commit 5e9f82f54988c464e6925e48182b909b1b3fe115.
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r--src/mongo/s/server.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp
index 27deceb5229..74ab977b9fd 100644
--- a/src/mongo/s/server.cpp
+++ b/src/mongo/s/server.cpp
@@ -342,14 +342,6 @@ static bool runMongosServer( bool doUpgrade ) {
if ( cmdLine.isHttpInterfaceEnabled )
boost::thread web( boost::bind(&webServerThread, new NoAdminAccess() /* takes ownership */) );
- // TODO(spencer): This should only be done if we haven't yet upgraded to the new V2 user data
- // format. Fix this as part of SERVER-9516.
- Status status = getGlobalAuthorizationManager()->initializeAllV1UserData();
- if (!status.isOK()) {
- log() << "Initializing user data failed: " << status.toString() << endl;
- return false;
- }
-
MessageServer::Options opts;
opts.port = cmdLine.port;
opts.ipList = cmdLine.bind_ip;