-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
When executing a retryable read with an implicit session, pymongo uses one implicit session for the initial attempt and another implicit session for the retry.
This is a bug as the spec says:
The minimum server version is 3.6 because
- It gives us version parity with retryable writes.
- It forces the *retry attempt to use the same implicit session, which would make it it easier to track operations and kill any errant longer running operation*.
...
This was uncovered by the tests added in PYTHON-2075.
- is related to
-
PYTHON-2391 Retryable reads/writes CommandStartedEvents publish duplicate command payloads
- Backlog
- related to
-
PYTHON-2075 Add more sessions tests with more read and write commands
- Closed