-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
ALL
Below issue we faced where VMs were accessible. But Mongodb connection was failing and no application was able to connect during that duration. We had to restart one of the VM shard. Though the issue resolved after an hour , we need to find RCA on this.
After checking we found this "NetworkInterfaceExceededTimeLimit" error in mongos log, which I believe has been taken cared in Mongo 4.0 version.
We are using Mongo version 4.4.7 currently.
1.Error message received in application:
A.
com.mongodb.MongoBulkWriteException:Bulk write operation error on server . Write errors: [BulkWriteError\{index=0, code=202, message='Write results unavailable from :: caused by :: Couldn't get a connection within the time limit of 181ms', details={ }}].
B.
'message 'Encountered non-retryable error during query :: caused by :: Couldn't get a connection within the time limit of 650ms' on server
2.Error message in Mongos logs:
{
"s": "I",
"c": "NETWORK",
"id": 4712102,
"ctx": "conn11471844",
"msg": "Host failed in replica set",
"attr": {
"replicaSet": "rs1",
"host": "host:port",
"error":
,
"action": {
"dropConnections": false,
"requestImmediateCheck": false,
"outcome":
}
}
}
===================================================