-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Server Serverless 2023-06-26, Server Serverless 2023-07-10
-
1
In multitenancy environment, the db name on disk looks like "<tenantId><db>" if tenant prefix exists. The length of db name should not only include db string size but also include the tenant prefix size and the "". So, when we validate the db name length in mongod, we should calculate the db name size in the right way.
In this ticket, we should change the code of database_impl.cpp and database_name.h. We should also change the jstest files in which the db name is too long (> 38 characters = 63 (max len) - 24 (tenant id string len) - 1).
- is depended on by
-
SERVER-77537 Make DatabaseName::db() private
- Closed
-
SERVER-78263 Serialize db name in the listDatabase command response with SerializationContext
- Closed
- is related to
-
SERVER-80252 Revert the code change of SERVER-78261
- Closed