[SERVER-80130] Change Shard::runCommand* functions to use DatabaseName obj Created: 16/Aug/23 Updated: 30/Aug/23 Resolved: 30/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sophia Tan | Assignee: | [DO NOT USE] Backlog - Server Serverless (Inactive) |
| Resolution: | Done | 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 | ||||||||
| Participants: | |||||||||
| Description |
|
These `Shard::runCommand*` functions are called by a lot of sharding code. In this ticket, we will change them to use `DatabaseName` obj instead of string db name and serialize the object to string inside the functions. The motivation is to decrease the code places of calling `DatabaseNameUtil::serialize` and `db_forSharding` in sharding code. |
| Comments |
| Comment by Sophia Tan [ 30/Aug/23 ] |
|
This work has been done in |