[SERVER-80131] Change ErrmsgCommandDeprecated::errmsgRun to use DatabaseName obj Created: 16/Aug/23 Updated: 29/Oct/23 Resolved: 18/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sophia Tan | Assignee: | Sophia Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ntdi_must_have | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Serverless
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Server Serverless 2023-08-21 | ||||||||
| Participants: | |||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 18/Aug/23 ] |
|
Author: {'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}Message: |