[SERVER-54006] Make listCollections iterate through in-memory state to collect collection information rather than on-disk Created: 25/Jan/21 Updated: 27/Oct/23 Resolved: 07/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Erin Liang |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | neweng, newgrad | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||||||
| Sprint: | Execution Team 2023-06-12 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Currently listCollections does a query on the durable catalog. It would be faster and simpler to iterate through the CollectionCatalog. It is thought that the durable read was required in order to support the mmap storage engine, which is no longer supported as of v4.0. |
| Comments |
| Comment by Gregory Wlodarek [ 07/Jun/23 ] |
|
Durable catalog read was removed in https://github.com/mongodb/mongo/commit/11de948b0c50df7d12de09ae0f01e791fc5d70d7 |
| Comment by Dianna Hohensee (Inactive) [ 25/Jan/21 ] |
|
|