[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:
Related
is related to SERVER-38690 Mongos should throw write targeting e... Closed
is related to SERVER-38936 Create unittests for txn_override.js Closed
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 SERVER-38690 is resolved, so closing this ticket.

Generated at Thu Feb 08 04:49:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.