remove reccache (mostly)

This commit is contained in:
Dwight
2010-05-17 10:38:36 -04:00
parent 1ea54f26ab
commit 8ac01ac9dc
13 changed files with 30 additions and 27 deletions

View File

@@ -74,7 +74,7 @@ namespace mongo {
void startReplSets();
void startReplication();
void pairWith(const char *remoteEnd, const char *arb);
void setRecCacheSize(unsigned MB);
//void setRecCacheSize(unsigned MB);
void exitCleanly( ExitCode code );
@@ -886,7 +886,8 @@ int main(int argc, char* argv[], char *envp[] )
if (params.count("cacheSize")) {
long x = params["cacheSize"].as<long>();
uassert( 10037 , "bad --cacheSize arg", x > 0);
setRecCacheSize(x);
log() << "--cacheSize option not currently supported" << endl;
//setRecCacheSize(x);
}
if (params.count("port") == 0 ) {
if( params.count("configsvr") ) {
@@ -1131,5 +1132,5 @@ BOOL CtrlHandler( DWORD fdwCtrlType )
} // namespace mongo
#include "recstore.h"
#include "reccache.h"
//#include "recstore.h"
//#include "reccache.h"