[SERVER-38570] txn_override.js should also abort when writeError is not empty Created: 12/Dec/18 Updated: 27/Oct/23 Resolved: 03/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.1.6 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Jack Mulrow |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | todo_in_code | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Sprint: | Sharding 2019-01-14 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Currently, it is possible for server to return non-empty writeError or writeConcern error while returning ok: 1. txn_override.js should also take this into account: https://github.com/mongodb/mongo/blob/r4.1.6/jstests/libs/txns/txn_override.js#L409 |
| Comments |
| Comment by Jack Mulrow [ 03/Jan/19 ] |
|
This should go away once |