[SERVER-82011] Make AutoGetCollectionForRead*LockFree validate the NamespaceString Created: 09/Oct/23 Updated: 06/Feb/24 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Cheahuychou Mao | Assignee: | Sulabh Mahajan |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | car-qw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Catalog and Routing
|
| Operating System: | ALL |
| Sprint: | CAR Team 2023-11-13, CAR Team 2024-02-05, CAR Team 2024-02-19 |
| Participants: | |
| Story Points: | 3 |
| Description |
|
AutoGetCollectionForReadLockFree doesn't check that the namespace is valid since it doesn't take collection or database locks but it does check that the shard version for the collection is not stale, which can fail if the namespace is invalid. So it needs check if the namespace is valid just like AutoGetCollection, AutoGetCollectionForRead and AutoGetCollectionForReadCommand. |