mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
Merge branch 'master' of github.com:mongodb/mongo
This commit is contained in:
commit
c01bef0ef1
@ -919,6 +919,13 @@ int main(int argc, char* argv[], char *envp[] )
|
||||
cmdLine.pretouch = params["pretouch"].as<int>();
|
||||
}
|
||||
if (params.count("replSet")) {
|
||||
if (params.count("slavedelay")) {
|
||||
cout << "--slavedelay cannot be used with --replSet" << endl;
|
||||
::exit(-1);
|
||||
} else if (params.count("only")) {
|
||||
cout << "--only cannot be used with --replSet" << endl;
|
||||
::exit(-1);
|
||||
}
|
||||
/* seed list of hosts for the repl set */
|
||||
cmdLine._replSet = params["replSet"].as<string>().c_str();
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
print("TODO FINISH THIS TEST NOT DONE");
|
||||
|
||||
var debugging = 0;
|
||||
|
||||
|
@ -187,6 +187,6 @@ doTest = function (signal) {
|
||||
replTest.stopSet(signal);
|
||||
}
|
||||
|
||||
if( 0 || debugging ) {
|
||||
if( 1 || debugging ) {
|
||||
doTest( 15 );
|
||||
}
|
||||
|
@ -466,7 +466,7 @@ namespace mongo {
|
||||
}
|
||||
conn.done();
|
||||
}
|
||||
catch ( std::exception& e ){
|
||||
catch ( std::exception& ){
|
||||
log(LL_WARNING) << " couldn't check on config server:" << _config[i] << " ok for now" << endl;
|
||||
}
|
||||
res.push_back(x);
|
||||
|
Loading…
Reference in New Issue
Block a user