[SERVER-78928] Create constant NamespaceString instead of using deprecated NSS constructors Created: 13/Jul/23  Updated: 29/Oct/23  Resolved: 17/Jul/23

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

Type: Task Priority: Major - P3
Reporter: Mathis Bessa Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-65920 Remove NamespaceString ctors with def... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-07-24
Participants:

 Description   

We have in a few places, NamespaceString created off const StringData such as `temp_oplog_buffer` or `replset.initialSyncId` on Local database. 

We should create NSS_CONSTANT for each one of them instead.

This is required work since we are removing NamespaceString constructors to instead use the NamespaceStringUtil::deserialize method.



 Comments   
Comment by Githook User [ 17/Jul/23 ]

Author:

{'name': 'Mathis Bessa', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-78928 Create constant NamespaceString instead of using deprecated NSS constructor
Branch: master
https://github.com/mongodb/mongo/commit/a1adfba53e0d8ecbe3f6528862937d5801f1daa3

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