[SERVER-79345] Modify collection lock assertions in collection sharding runtime Created: 26/Jul/23  Updated: 29/Oct/23  Resolved: 26/Jul/23

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

Type: Task Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-53817 Remove check for shouldConflictWithSe... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution NAMR Team 2023-08-07
Participants:

 Description   

There are assertions about collection locks in CollectionShardingRuntime::assertCollectionLockedAndAcquireShared and in CollectionShardingRuntime::assertCollectionLockedAndAcquireExclusive that the collection lock is held, but these might not be totally accurate in some cases.



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

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-79345 Adjust lock assertion acquiring coll sharding runtime
Branch: master
https://github.com/mongodb/mongo/commit/af983388d01d717cafb3e65052ca2f6e579aed85

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