Commit 60f7ac7
committed
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.
(cherry picked from commit fd84565)1 parent 59b62c8 commit 60f7ac7
File tree
4 files changed
+553
-3
lines changed- pymongo
- test
- sessions/unified
4 files changed
+553
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
872 | 875 | | |
873 | 876 | | |
874 | 877 | | |
| |||
0 commit comments