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:
parent
e366fb43ac
commit
d4e08f8a5c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user