Bernie Hackett
335cb97a34
PYTHON-1278, PYTHON-1553 - Support OP_COMPRESSED
2018-05-22 11:44:21 -07:00
Bernie Hackett
507f954ed4
Update copyright dates
2017-12-01 17:23:39 -08:00
A. Jesse Jiryu Davis
df018e88e2
PYTHON-1332 - Gossip $clusterTime
2017-10-12 09:08:38 -04:00
A. Jesse Jiryu Davis
14da1893ea
PYTHON-1332 - Parse session timeout from ismaster
...
The field name isn't localLogicalSessionTImeoutMinutes, it's now
logicalSessionTimeoutMinutes.
2017-09-01 15:22:38 -04:00
A. Jesse Jiryu Davis
cbe3e3b9ab
PYTHON-1349 - Read session timeout from isMaster
2017-08-23 21:55:46 -04: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
5735cf49b1
PYTHON-1104 - Fix lastWriteDate parsing.
2016-11-08 21:52:04 -05:00
A. Jesse Jiryu Davis
497e316d34
PYTHON-1104 - Support idleWritePeriodMS.
2016-11-08 21:52:04 -05:00
Bernie Hackett
0fd60e63fd
PYTHON-1137 - Add IsMaster.document
2016-08-31 13:46:47 -07:00
A. Jesse Jiryu Davis
5933730588
PYTHON-1104 Implement maxStalenessMS.
2016-07-22 14:12:40 -04:00
A. Jesse Jiryu Davis
c34eec8fad
PYTHON-1036 use setVersion to detect stale primary
2015-12-23 17:22:43 -06:00
Luke Lovett
22c79ac0f6
PYTHON-999 - Update SDAM tests and fix related failures.
2015-10-07 11:55:35 -07:00
A. Jesse Jiryu Davis
3d1c20669c
PYTHON-924 - Use electionId to detect stale primaries.
2015-05-11 12:17:59 -04:00
Bernie Hackett
aec685b374
Fix up copyright dates.
2015-03-25 11:55:02 -07:00
A. Jesse Jiryu Davis
27c961a2ab
PYTHON-857 - Use client._get_socket_for_writes for OP_INSERT.
...
We must get a socket *before* choosing whether to use write commands or legacy
writes. I will update the code in steps, getting a socket earlier and earlier
in the write path.
This commit gets a socket just before sending OP_INSERT in _do_batched_insert,
and temporarily disables the C version of _do_batched_insert.
2015-03-16 12:34:45 -04:00
A. Jesse Jiryu Davis
0e222c4c4c
Rename "set_name" to "replica_set_name".
...
Rename the attributes of IsMaster, ServerDescription, TopologyDescription, and
TopologySettings from "set_name" to "replica_set_name" for greater clarity.
2014-11-17 20:29:16 -05:00
A. Jesse Jiryu Davis
8b8123932f
Use lower() to canonicalize hostnames.
...
Normalize hostname to lowercase, since DNS is case-insensitive:
http://tools.ietf.org/html/rfc4343
This prevents useless rediscovery if "foo.com" is in the seed list but
"FOO.com" is in the ismaster response.
2014-09-22 16:36:20 -04:00
A. Jesse Jiryu Davis
590c68d287
PYTHON-525 Move SERVER_TYPE to its own file.
2014-08-28 16:49:33 -04:00
Bernie Hackett
3383d38342
Minor cluster update optimization.
2014-07-02 14:01:20 -07:00
Bernie Hackett
6e3da18114
PYTHON-525 - Cluster monitoring python 3 support.
2014-07-02 11:51:34 -07: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