-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Serverless
-
Fully Compatible
-
Server Serverless 2023-05-15, Server Serverless 2023-07-10, Server Serverless 2023-08-07, Server Serverless 2023-08-21, Server Serverless 2023-09-04, Server Serverless 2023-09-18
-
5
In this ticket, we will go through all the call sites of "NamespaceString::db()" to make it call "NamespaceString::dbName()" so that the tenant information will not be dropped.
If a call site does not accept DatabaseName object, we should change the function to take in DatabaseName first.
- depends on
-
SERVER-64608 Add tenantID to NamespaceString
- Closed
-
SERVER-65920 Remove NamespaceString ctors with default parameter for tenantId
- Closed
-
SERVER-73658 RemoteCommandRequest to use DatabaseName
- Closed
-
SERVER-76899 ReplicationCoordinatorImpl::canAcceptWritesForDatabase to pass a DatabaseName
- Closed
-
SERVER-76918 Change bucket_catalog::clear to take in DatabaseName object instead of StringData object
- Closed
-
SERVER-76931 Change IndexAccessMethod::initialBulk() to take in DatabaseName object
- Closed
-
SERVER-78395 Do not call deprecated NamespaceString::db() in sharding code
- Closed
-
SERVER-78396 Avoid calling deprecated NamespaceString::db() in unit test code
- Closed
-
SERVER-79074 Replace NamespaceString::db() with NamespaceString::db_deprecated()
- Closed
-
SERVER-79153 removed unused 'db' from analyzeCommandAsAggregationCommand
- Closed
-
SERVER-79154 ExpressionContext::isDBAggregation to take in DatabaseName
- Closed
-
SERVER-79863 Create a comparison method to compare the db of two namespacestring
- Closed
-
SERVER-80147 Replace calls for DatabaseName::db_deprecated with appropriate toString
- Closed
-
SERVER-80148 Use DatabaseName for calls to OpMsgRequest::fromDBAndBody
- Closed
-
SERVER-80167 Move ClonerUtils::isNamespaceForTenant into NamespaceString
- Closed
-
SERVER-80199 JsExecution to use DatabaseName instead of StringData
- Closed
-
SERVER-76195 Remove non-tenant aware APIs from ResourcePattern
- Closed
- has to be done after
-
SERVER-77537 Make DatabaseName::db() private
- Closed
- is depended on by
-
SERVER-80833 Pass serialization context into agg parseFromBSON from auth
- Closed
- is related to
-
SERVER-78844 Create a function to parse the DatabaseName object from OpMsgRequest
- Closed
-
SERVER-79691 Replace NamespaceString::db_deprecated comparison
- Closed