[SERVER-79047] [BM test] Collection lock not acquired on sharding_write_router_bm test Created: 18/Jul/23  Updated: 29/Oct/23  Resolved: 21/Jul/23

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

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

Issue Links:
Depends
Problem/Incident
is caused by SERVER-26879 Get rid of LockerNoop Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2023-07-24
Participants:
Linked BF Score: 153

 Description   

The collection lock needs to be acquired right before accessing the CSR here. This only affects the BM test.



 Comments   
Comment by Githook User [ 21/Jul/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-79047 Fix invariant on sharding_write_router_bm
Branch: master
https://github.com/mongodb/mongo/commit/90ccb40d125d0f0a1069c967ce89fcd031ca733c

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