[SERVER-83515] bulkWrite: Prevent any namespace specific code from being executed in the CRUD hotpath Created: 21/Nov/23 Updated: 18/Jan/24 Resolved: 18/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Vishnu Kaushik | Assignee: | Backlog - Replication Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Participants: |
| Description |
|
Currently we have code like validateNamespaceForWrites that is called on every single operation. Although we do have a map to cache to results to make validateNamespaceForWrites faster, we shouldn't even need a map if we just validate all the namespace up front. There may be other such examples as well that we can remove from the operation hot path. |
| Comments |
| Comment by Sean Zimmerman [ 18/Jan/24 ] |
|
Not big enough impact to warrant fixing |