diff options
author | Tad Marshall <tad@10gen.com> | 2013-08-04 08:20:47 -0400 |
---|---|---|
committer | Tad Marshall <tad@10gen.com> | 2013-08-04 08:20:47 -0400 |
commit | 7f239865b136a6aef682cb114fc871b0c81a70b8 (patch) | |
tree | caa80becaff18e21b76146cf8d73b8479ca3a829 /src/mongo/s/server.cpp | |
parent | f141a861efcbefd72101544c8990fdff7ca27741 (diff) | |
download | mongo-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.cpp | 8 |
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; |