-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.2.10
-
Component/s: None
-
None
-
ALL
-
In Mongo 3.2.10, when trying to insert a new document via mongoS and the underlying replicaset has no primary, the write hangs for about 15 seconds before failing with a "could not contact primary for replica set" error.
The error is expected. What's not expected is that it takes 15 seconds for mongoS to return that error. In Mongo 3.0.4, the insert fails immediately.
- related to
-
SERVER-21272 All NotMaster and NetworkError retries should wait before retrying
-
- Closed
-