Commit Graph

8 Commits

Author SHA1 Message Date
Shane Harvey
ecc852c322 PYTHON-1673 Mongos pinning for sharded transactions
In a sharded transaction, a session is pinned to the mongos server
selected for the initial command. All subsequent commands in the same
transaction are routed to the pinned mongos server.
2018-12-06 15:28:58 -08:00
Shane Harvey
994cf80c7c PYTHON-1545 Resume more getMore errors for ChangeStreams 2018-06-21 12:41:30 -07:00
Prashant Mital
96291c88b0
PYTHON-1565 Add helpers and options for Change Streams Follow-on Work (#355)
PYTHON-1565 Add helpers and options for Change Streams Follow-on Work (#355)

Add MongoClient.watch() and Database.watch().
Add start_at_operation_time to all watch() helpers.
2018-06-21 12:22:59 -07:00
Shane Harvey
9d7b4c44ce PYTHON-1338 Update change stream documentation. 2017-11-17 16:17:06 -08:00
Shane Harvey
5b5128c773 PYTHON-1394 Close ChangeStream cursor when the resume token is missing. 2017-10-30 10:28:46 -04:00
Shane Harvey
4d2825b0af PYTHON-1372 Avoid using RawBSONDocument in ChangeStream. 2017-10-30 10:28:46 -04:00
A. Jesse Jiryu Davis
fdf4436201 PYTHON-1332 - Send lsid with all commands 2017-09-29 14:52:26 -04:00
Shane Harvey
74605b73f6 PYTHON-1338 Support change stream API. 2017-09-07 17:12:45 -07:00