[SERVER-40020] Make isCollectionLockHeldForMode take NamespaceString, not StringData Created: 07/Mar/19  Updated: 29/Oct/23  Resolved: 08/Mar/19

Status: Closed
Project: Core Server
Component/s: Concurrency, Storage
Affects Version/s: None
Fix Version/s: 4.1.9

Type: Question Priority: Major - P3
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-03-11
Participants:

 Description   

As we're starting to use more CollectionLocks instead of DatabaseLocks, it's a good time to change this and avoid locking mistakes.



 Comments   
Comment by Githook User [ 08/Mar/19 ]

Author:

{'name': 'Geert Bosch', 'username': 'GeertBosch', 'email': 'geert@mongodb.com'}

Message: SERVER-40020 Make isCollectionLockHeldForMode take NamespaceString, not StringData
Branch: master
https://github.com/mongodb/mongo/commit/7f6279afcc08a84cd980ea193b9962eab0ae4f25

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