-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Serverless
-
Fully Compatible
-
Server Serverless 2023-08-21
Many sharding command classes override the `ErrmsgCommandDeprecated::errmsgRun` function which takes in a db string instead of a `DatabaseName` object. In the call site of this function, the code serializes a `DatabaseName` object to string. Soon after this, in the override function of some classes, the string is deserialized back to a `DatabaseName` object. It wastes the time.
In this ticket, we will change the function definition to take in `DatabaseName` object.
- is depended on by
-
SERVER-79990 Change high level interface function of sharding code to take in DatabaseName instead of string db
- Closed