Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Bernie Hackett
521f7b9af4
PYTHON-2133 Fix up docs
...
And finish deleting python 2 specific code.
2021-01-21 15:49:23 -08:00
A. Jesse Jiryu Davis
91f2f973af
PYTHON-1192 - Minimum maxStalenessSeconds is 90.
...
Revert code to parse "idleWritePeriodMillis" from ismaster, and revert
changes that allowed maxStalenessSeconds to be a float.
2016-11-22 13:19:34 -05:00
A. Jesse Jiryu Davis
497e316d34
PYTHON-1104 - Support idleWritePeriodMS.
2016-11-08 21:52:04 -05:00
A. Jesse Jiryu Davis
5933730588
PYTHON-1104 Implement maxStalenessMS.
2016-07-22 14:12:40 -04:00
A. Jesse Jiryu Davis
553f887ef7
PYTHON-1104 Change server-selector signature.
...
Preparation for maxStalenessMS implementation: selectors now take a
TopologyDescription, not a list of ServerDescriptions.
2016-06-20 15:27:17 -07:00
Bernie Hackett
f506d8b69f
PYTHON-915 - Accept 0 for localThresholdMS.
2015-05-08 08:34:15 -07:00
Bernie Hackett
f282babff0
PYTHON-926 - ReadPreference.NEAREST shouldn't pick arbiters.
2015-05-07 14:50:38 -07:00
A. Jesse Jiryu Davis
a6535c5c7b
PYTHON-912 - Never try auth with a recovering RS member.
2015-04-23 23:24:36 -04:00
A. Jesse Jiryu Davis
2cc37059b8
PYTHON-898 - Send getMore to same mongos as initial query.
2015-04-15 17:14:25 -04:00
Bernie Hackett
aec685b374
Fix up copyright dates.
2015-03-25 11:55:02 -07:00
Bernie Hackett
4e13a39db9
PYTHON-812 - Make local threshold global and immutable.
2015-01-08 11:21:54 -08:00
A. Jesse Jiryu Davis
1b71104d75
Fix race with disconnect, auth, and getMore.
2014-11-14 22:18:06 -05:00
A. Jesse Jiryu Davis
735a1247ca
PYTHON-525 Deprecate MongoReplicaSetClient.
...
MongoClient now supports all MongoReplicaSetClient's features.
Fix bugs and add features in the new MongoClient to bring it up
to spec. MongoReplicaSetClient is now a deprecated stub that
subclasses MongoClient.
Introduce new errors, NetworkTimeout and NotMasterError, to
communicate events that MongoClient must handle specially.
2014-09-16 15:33:19 -04:00
A. Jesse Jiryu Davis
41c1a9afa6
PYTHON-525 Reimplement auth for new MongoClient.
...
The new MongoClient, based on Cluster and Server,
includes functionality that had been split between the
old MongoClient and MongoReplicaSetClient. A
previous commit introduced the new MongoClient
but broke authentication.
2014-09-03 17:39:52 -04:00
A. Jesse Jiryu Davis
590c68d287
PYTHON-525 Move SERVER_TYPE to its own file.
2014-08-28 16:49:33 -04:00
A. Jesse Jiryu Davis
3027853cd9
PYTHON-525 Server selection implemented within ReadPreference classes.
2014-08-28 16:49:33 -04:00
A. Jesse Jiryu Davis
d79ab6eb5e
PYTHON-525 Implement Cluster, Server, and Monitor.
...
This is prelude to a unified MongoClient class to replace the current
MongoClient and MongoReplicaSetClient. Conforms to the Cluster Monitoring Spec.
2014-07-01 22:53:24 -04:00