[SERVER-79506] Get all bulkWrite js core tests running in sharding passthrough suites Created: 31/Jul/23  Updated: 29/Oct/23  Resolved: 06/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Kaitlin Mahar Assignee: Kaitlin Mahar
Resolution: Fixed Votes: 0
Labels: milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-80219 mongos should add _id for bulkWrite i... Closed
depends on SERVER-80221 mongos should not attach write concer... Closed
depends on SERVER-80481 Handle local errors on mongos encount... Closed
depends on SERVER-80174 mongos should be able to handle top-l... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-08-21, Repl 2023-09-04, Repl 2023-10-02, Repl 2023-10-16
Participants:

 Description   

In SERVER-77004 we are enabling the tests jstests/core/write/bulk/bulk_write_*.js in some of the sharding passthrough suites.

However, due to various issues we are still skipping the tests in a number of suites. To name a few issues:

  • All of the multi_stmt_txn passthrough suites seem to fail due to some write concern related issue. Per sean.zimmerman@mongodb.com we might need to change this code to only apply when not in a transaction.
  • There are some failures involving missing findAndModify post-images in responses. But, we plan to remove findAndModify support anyway, so the work here might just be removing the F&M test cases.
  • A createIndexes command fails in bulk_write_non_transaction.js when using sharded collections, seemingly due to some incompatibility with how the collections are implicitly sharded and the index type we attempt to create.
  • One test fails in causually_consistent_jscore_passthrough_auth because it seems we currently report the lack of authorization for the command in a different way on mongos than on mongod.

This ticket is to track looking into these issues, fixing them up and removing all of the temporarily added tags/skips. TODOs have been added in all the relevant places.



 Comments   
Comment by Githook User [ 06/Oct/23 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-79506 SERVER-81003 Handle targeting errors in transactions for bulkWrite and enable bulkWrite jscore tests in sharded collection passthroughs
Branch: master
https://github.com/mongodb/mongo/commit/f1e3a0a4ef0e26e7d0ab2d8823bf178d7e831338

Generated at Thu Feb 08 06:41:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.