[SERVER-63109] Change CollectionCatalog::_databaseProfileSettings to be keyed by DatabaseName Created: 28/Jan/22  Updated: 29/Oct/23  Resolved: 20/May/22

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

Type: Task Priority: Major - P3
Reporter: Sophia Tan Assignee: Sophia Tan
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-61988 Change CollectionCatalog maps that ar... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-04-18, Server Serverless 2022-05-02, Server Serverless 2022-05-16, Server Serverless 2022-05-30
Participants:

 Description   

CollectionCatalog uses string as the key to access the database profile setting. 

https://github.com/mongodb/mongo/blob/392ad3ef3d5a8b9a8dbd83ffe1d9a4f780e6fa61/src/mongo/db/catalog/collection_catalog.h#L461

Use DatabaseName for _databaseProfileSettings and change the related APIs and callers' code.



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

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-63109 Change CollectionCatalog::_databaseProfileSettings to be keyed by DatabaseName
Branch: master
https://github.com/mongodb/mongo/commit/b065a3b04ab6c14b7a695f0c3f97eaa81b202a36

Comment by Githook User [ 19/May/22 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-63109 Change CollectionCatalog::_databaseProfileSettings to be keyed by DatabaseName
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/e92f36c1f1f67863a35700c0adb892d2d9d90b37

Comment by Sophia Tan [ 01/Feb/22 ]

Move this ticket to the backlog as it's still under discussion about if the database profile should be supported by serverless. 

Generated at Thu Feb 08 05:56:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.