[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:
Related
related to SERVER-74244 Data race on namespace stored in Reco... Closed
related to SERVER-73111 Remove CollectionCatalog usage in Wir... Backlog
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 SERVER-74244 and this comment).

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.

Generated at Thu Feb 08 05:56:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.