[SERVER-74492] Make DatabaseName::toStringWithTenantId private Created: 01/Mar/23  Updated: 29/Oct/23  Resolved: 19/May/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: Janna Golden 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
depends on SERVER-68655 Change ReplicationCoordinator::canAcc... Closed
depends on SERVER-74485 Always include tenant in db name attr... Closed
depends on SERVER-74487 Always include tenant in db name attr... Closed
depends on SERVER-76899 ReplicationCoordinatorImpl::canAccept... Closed
depends on SERVER-76900 ResourceConsumption::shouldCollectMet... Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-05-01, Server Serverless 2023-05-15, Server Serverless 2023-05-29
Participants:
Story Points: 3

 Description   

In order to ensure DatabaseName is always serialized correctly, we will create context specific toString methods on DatabaseName and DatabaseNameUtil, and remove any default serialization behavior.



 Comments   
Comment by Githook User [ 19/May/23 ]

Author:

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

Message: SERVER-74492 Make DatabaseNae::toStringWithTenantId private
Branch: master
https://github.com/mongodb/mongo/commit/4bcb455c6bf43823fb60fb25b2119c2ada30e81e

Comment by Githook User [ 09/May/23 ]

Author:

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

Message: SERVER-74492 Make DatabaseName::toStringWithTenantId private - unit test
Branch: master
https://github.com/mongodb/mongo/commit/2f82a21a99667c68bcb400bc6c468ed1f5e33dff

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