[SERVER-77401] Improve NamespaceStringOrUUID API Created: 23/May/23  Updated: 24/May/23  Resolved: 23/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: Backlog - Storage Execution Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Participants:

 Description   

The API exposes two different ways to access the underlying namespace or UUID:

  • As an optional value, which causes an extra memory allocation and copy
  • As a raw pointer

We should really consolidate this API into either:

  • A hasNss/Uuuid() function and a getNss/Uuid() function
  • Typedef NamespaceStringOrUUID as a stdx::variant


 Comments   
Comment by Louis Williams [ 23/May/23 ]

Not relevant because we closed SERVER-77348

Generated at Thu Feb 08 06:35:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.