[SERVER-39175] Transactional bulkWrite error missing writeErrors (mongos) Created: 24/Jan/19  Updated: 29/Oct/23  Resolved: 03/Apr/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.0.0
Fix Version/s: 4.1.10

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: open_todo_in_code, todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File SERVER-39175.patch    
Issue Links:
Depends
depends on SERVER-38583 Transactional bulkWrite error missing... Closed
Documented
is documented by DOCS-12608 Docs for SERVER-39175: Transactional ... Closed
Related
related to SERVER-43492 Unblack list tests marked with SERVER... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Sprint: Repl 2019-02-11, Sharding 2019-03-25, Sharding 2019-04-08
Participants:

 Description   

Followup to SERVER-38583: when a write error occurs in a multi-statement transaction, report the error in the same format as if it failed outside of a transaction. Today, the mongos reply for write error in a transaction includes ok: 0 and the error is at the top level. It should reply with include ok: 1 and a writeErrors array, the same as it does outside a transaction.



 Comments   
Comment by Githook User [ 03/Dec/19 ]

Author:

{'email': 'randolph@mongodb.com', 'name': 'Randolph Tan'}

Message: SERVER-43492 Unblack list tests marked with SERVER-39175
Branch: master
https://github.com/mongodb/mongo/commit/e852c53ce883faa7d5fac31971b34bc926e543cc

Comment by Githook User [ 03/Apr/19 ]

Author:

{'name': 'Randolph Tan', 'username': 'renctan', 'email': 'randolph@10gen.com'}

Message: SERVER-39175 Transactional bulkWrite error missing writeErrors (mongos)
Branch: master
https://github.com/mongodb/mongo/commit/c4d16e522c18e96114fd3e9b1b71ba835d11c8d7

Comment by A. Jesse Jiryu Davis [ 21/Feb/19 ]

Note: do not backport. This is a behavior change, best to do it in 4.2 rather than 4.0.x.

Comment by Gregory McKeon (Inactive) [ 19/Feb/19 ]

my fault, jesse.

Comment by A. Jesse Jiryu Davis [ 19/Feb/19 ]

This ticket is about mongos, SERVER-38583 is about mongod. This one's still open.

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