[SERVER-40752] transactions_multi_writes.js should not use assert.writeOK for plain js objects Created: 19/Apr/19  Updated: 29/Oct/23  Resolved: 02/May/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.11

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2019-05-06
Participants:
Linked BF Score: 21

 Description   

The assert in question:

https://github.com/mongodb/mongo/blob/b8d3c0f4845092c4a52844f05153f38035fd96aa/jstests/sharding/transactions_multi_writes.js#L68

This is because assert.writeOK can only check the writeErrors properly if it's a WriteResult/BulkWriteResult



 Comments   
Comment by Githook User [ 02/May/19 ]

Author:

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

Message: SERVER-40752 transactions_multi_writes.js should not use assert.writeOK for plain js objects
Branch: master
https://github.com/mongodb/mongo/commit/1f838626729c43b915880a7bc81a5c2c92473dd3

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