[SERVER-84519] Fix concurrent_drops_and_creates.js to support a multishard test suite Created: 03/Jan/24  Updated: 22/Jan/24  Resolved: 22/Jan/24

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

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

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: CAR Team 2024-01-22
Participants:
Linked BF Score: 15

 Description   

sharding_uninitialized_fcv_jscore_passthrough.yml is a new test suite that sets a 2-shard cluster. Currently, concurrent_drops_and_creates.js creates two unsharded collections but does not control the placement of them. If the collections are created in two different shards, the transaction in the test becomes distributed and returns an error that the operation is not supported.

The test should control that the two collections are colocated in the same shard as expected and produce the WriteConflict.

 

 



 Comments   
Comment by Githook User [ 22/Jan/24 ]

Author:

{'name': 'david-dominguez-sal', 'email': '97509688+david-dominguez-sal@users.noreply.github.com', 'username': 'david-dominguez-sal'}

Message: SERVER-84519: Fix concurrent_drops_and_creates.js: Force that the two sessions create the databases in the same shard, in test configurations on sharded clusters (#18135)

GitOrigin-RevId: b254360d3bb72b44aa5395bb0b4f56f2d347e46a
Branch: master
https://github.com/mongodb/mongo/commit/4334bc362ad075dc16cdcf75c7632aa052597cfa

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