-
Type:
Improvement
-
Resolution: Done
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This is for direct connection to a single mongod using connection.Connection. We call ismaster on each connection, so track the state of the currently connected mongod and raise an exception for non-primary unsafe write attempts.