[SERVER-42785] lookupUUIDByNSS should be constant time Created: 12/Aug/19 Updated: 29/Oct/23 Resolved: 10/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Catalog |
| Affects Version/s: | 4.1.10 |
| Fix Version/s: | 4.3.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Geert Bosch | Assignee: | Daniel Ernst |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | groomed, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Execution Team 2019-12-16 |
| Participants: |
| Description |
|
While there are currently not many users of this, looking up a collection UUID by name should not take more time than looking up a Collection object by name. Currently the time is linear in the number of collections in the database while holding the catalog mutex which will cause problems if there are more users of the method. |
| Comments |
| Comment by Githook User [ 09/Dec/19 ] |
|
Author: {'email': 'daniel.ernst@mongodb.com', 'name': 'Daniel Ernst'}Message: |