[SERVER-79322] Modify collection lock assertion when creating random cursor executor Created: 25/Jul/23  Updated: 29/Oct/23  Resolved: 25/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   

When creating a random cursor executor we assert that the collection is locked, but this may not be the case if we are in a lock-free read.



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

Author:

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

Message: SERVER-79322 Adjust lock assertion for creating random cursor executor
Branch: master
https://github.com/mongodb/mongo/commit/e455011afee09901fd043e17ca7d06416e7ce789

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