0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

log when can't connect to arbiter MINOR

This commit is contained in:
Aaron 2009-04-30 11:27:00 -04:00
parent e366fb43ac
commit d4e08f8a5c

View File

@ -119,6 +119,7 @@ namespace mongo {
auto_ptr<DBClientConnection> conn( newClientConnection() );
string errmsg;
if ( !conn->connect(arbHost.c_str(), errmsg) ) {
log() << "pull: cantconn arbiter " << errmsg << endl;
setMasterLocked(State_CantArb, "can't connect to arb");
return;
}