[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:
Depends
is depended on by SERVER-79990 Change high level interface function ... Closed
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 SERVER-73658. No commit in this ticket. 

Generated at Thu Feb 08 06:42:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.