Commit Graph

12 Commits

Author SHA1 Message Date
Steven Silvester
4e5166b29a
PYTHON-3712 Deprecate sharded-replicaset topology type and clean up redundant runOnRequirements (#2232) 2025-03-26 17:39:10 -05:00
Julius Park
eaea70bf08
DRIVERS-2369 Disable causal consistency in implicit sessions (#1132) 2023-01-10 15:49:46 -08:00
Shane Harvey
484058e18d
PYTHON-3160 Fix MMAPv1 tests (#914) 2022-03-30 21:50:22 -07:00
Shane Harvey
a3f0f91588
PYTHON-3123 Convert sessions spec tests to unified test format (#888)
Create implicit session _before_ starting a retryable read.
2022-02-25 10:36:05 -08:00
Shane Harvey
c663fb69cc
PYTHON-2856 Properly assert 0 events in snapshot reads tests (#697)
expectEvents must be non-empty if present.
2021-08-09 12:50:15 -07:00
Shane Harvey
fd845654fb
PYTHON-2776 Disable writes and other unsupported operations in snapshot reads (#660)
Rely on the server to report an error for unsupported snapshot read
operations by sending readConcern with all commands, even writes.
2021-06-30 20:01:43 -07:00
Shane Harvey
4152600ae6
PYTHON-2777 Raise client side error for snapshot reads on <5.0 (#659) 2021-06-29 14:40:48 -07:00
Shane Harvey
354c96a414
PYTHON-2779 Fix topologies field in snapshot reads test (#657) 2021-06-28 15:11:52 -07:00
Shane Harvey
14160aed04
PYTHON-2767 Support snapshot reads on secondaries (#656)
Add the MongoClient.start_session snapshot option.
2021-06-25 16:12:12 -07:00
Shane Harvey
2818a32855
PYTHON-2392 Implicit sessions should always be discarded after connection errors (#498)
PYTHON-2075 Add more sessions tests with more read and write commands
2020-10-12 12:21:45 -07:00
Shane Harvey
d3e66a6702
PYTHON-2308 Test that we exclusively depend on existence of logicalSessionsTimeoutMinutes for sessions support (#499) 2020-10-08 10:13:42 -07:00
Shane Harvey
fc645a248e PYTHON-1838 Discard ServerSessions involved in network errors 2019-06-04 15:43:55 -07:00