[SERVER-53829] Make listCollections and listIndexes commands lock free Created: 15/Jan/21  Updated: 29/Oct/23  Resolved: 26/Jan/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: Henrik Edin Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-53784 Remove locks from listIndexes and lis... Closed
Problem/Incident
Related
is related to SERVER-53652 Remove Lock Free Reads feature flag a... Closed
is related to SERVER-54059 Create a JS test to prove listIndexes... Closed
is related to SERVER-54006 Make listCollections iterate through ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-01-25, Execution Team 2021-02-08
Participants:
Linked BF Score: 39

 Description   

We can acquire a collection catalog instance that is safe to read without holding locks. This can be used to list collections without Database or Collection level locks.



 Comments   
Comment by Githook User [ 26/Jan/21 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-53829 Make listCollections and listIndexes commands lock free
Branch: master
https://github.com/mongodb/mongo/commit/66f0361649bc5239460a6764cacf6c448fe190e9

Generated at Thu Feb 08 05:31:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.