[SERVER-62917] Ensure RecordStore stores the full tenant namespace Created: 24/Jan/22 Updated: 31/Mar/23 Resolved: 31/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Mathis Bessa |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | ntdi_must_have | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Serverless
|
||||||||||||
| Sprint: | Server Serverless 2023-04-03 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
A RecordStore is constructed for each collection and index. It stores the namespace as a string, and mainly uses the namespace for logging and debugging aid (see related PR comment). _ns should remain as type StringData (also according to this comment), but should ensure all call sites pass the full, prefixed namespace. |
| Comments |
| Comment by Mathis Bessa [ 31/Mar/23 ] |
|
We are closing this ticket since a RecordStore no longer stores a namespace as part of its layer (see There doesn't seem to be any plan to re-introduce it. Storage execution team has said that a higher layer should instead handle error / logging of the namespace rather than the lower layered RecordStore. |