[SERVER-63187] Change StorageEngine APIs to accept TenantDatabaseName Created: 01/Feb/22  Updated: 29/Oct/23  Resolved: 27/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc2

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

Backwards Compatibility: Fully Compatible
Participants:

 Description   

closeDatabase and dropDatabase : https://github.com/mongodb/mongo/blob/master/src/mongo/db/storage/storage_engine.h#L238-L243

getFilesystemPathForDb and sizeOnDiskForDb

https://github.com/mongodb/mongo/blob/b134aa91cb84a183489bfc4e39503837ab0154df/src/mongo/db/storage/storage_engine.h#L623-L625

These APIs accept string db name. We should change them to accept TenantDatabaseName.



 Comments   
Comment by Githook User [ 17/Feb/22 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-63187 StorageEngine API: replace database name StringData type with TenantDatabaseName
Branch: master
https://github.com/mongodb/mongo/commit/bda73366d492081047a80cc2e82f8d542e0ec635

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