-
Type:
Task
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
sophiayangDB has created PR #2857: PYTHON-1894: Client-side errors in in-progress transactions must not change transaction state in mongo-python-driver
Issue Text:
PYTHON-1894
-
- Changes in this PR
Followed the design used by the Node driver. Transactions are only advanced from STARTING -> IN_PROGRESS after the first operation reaches the server response stage. This means that client-side errors do not advance state.
- Changes in this PR
-
- Test Plan
Removed the temporary unified test skips and expected failures for this case.
- Test Plan
-
- Checklist
<!-- Do not delete the items provided on this checklist. -->
- Checklist
-
-
- Checklist for Author
-
- [ ] Did you update the changelog (if necessary)?
- [ ] Is there test coverage?
- [ ] Is any followup work tracked in a JIRA ticket? If so, add link(s).
-
-
- Checklist for Reviewer
-
- [ ] Does the title of the PR reference a JIRA Ticket?
- [ ] Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
- [ ] Is all relevant documentation (README or docstring) updated?