[SERVER-69499] Modify serializer/deserializer call sites to use new NamespaceString util class Created: 07/Sep/22  Updated: 29/Oct/23  Resolved: 10/Oct/22

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

Type: Task Priority: Major - P3
Reporter: Hugh Tong (Inactive) Assignee: Adi Agrawal
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-70067 Have DBClientCursor to include tenant... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-10-03, Server Serverless 2022-10-17
Participants:

 Description   

Following SERVER-67155, we will need to modify calls to existing NamespaceString serializers/deserializers to now call the new NamespaceString utils class.  This involves modifying call sites directly calling the serializers/deserializers, marked by TODOs modified in SERVER-67155, as well as removing any old functions from NamespaceString as we swap them out.  Then we should swap out the serialize and deserialize functions that are set for the IDL "namespace_string" type. 

We will likely need to make this utils library available for other libraries to link in as well used with the IDL parser, then write or modify some consumer-side tests to validate that consumers are behaving correctly according to the output of the serializers/deserializers when used with various combinations of the featureFlagRequireTenantId/multiTenancySupport flags.



 Comments   
Comment by Githook User [ 10/Oct/22 ]

Author:

{'name': 'Adityavardhan Agrawal', 'email': 'aa729@cornell.edu', 'username': 'Adityav369'}

Message: SERVER-69499 Change callsites to use serialize and deserialize from NamespaceStringUtil
Branch: master
https://github.com/mongodb/mongo/commit/14c36b24c21c53a546ca723082e6767b0d7d5a1a

Comment by Githook User [ 10/Oct/22 ]

Author:

{'name': 'Adityavardhan Agrawal', 'email': 'aa729@cornell.edu', 'username': 'Adityav369'}

Message: SERVER-69499 Include namespace_string_util in live_imports Sconscript
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/4201aedb9ddd13ac4e63da784b0d959a571993c7

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