[SERVER-79863] Create a comparison method to compare the db of two namespacestring Created: 08/Aug/23  Updated: 29/Oct/23  Resolved: 09/Aug/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: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-65456 Make NamespaceString::db_deprecated()... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-08-21
Participants:

 Description   

We currently have places in the code where we serialize the `db` part of a namespacestring as follow :

if (viewName.db_deprecated() != viewOn.db_deprecated())

We should create a method in NamespaceString that would compare the `db` part of the NamespaceString with the `db` part of the other NamespaceString.



 Comments   
Comment by Githook User [ 09/Aug/23 ]

Author:

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

Message: SERVER-79863 Create a comparison method to compare the db of two namespacestring
Branch: master
https://github.com/mongodb/mongo/commit/658030eb39cd1d46efb5bdaac7617796e6c0b49a

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