[SERVER-68423] Remove CommandHelpers::parseNsFromCommand(StringData dbname, const BSONObj& cmdObj) Created: 28/Jul/22 Updated: 29/Oct/23 Resolved: 17/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: | Mathis Bessa |
| 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 |
|
Change ClusterExplainCommand to pass a DatabaseName object to parseNsFromCommand (it currently passes a string). Then, remove CommandHelpers::parseNsFromCommand(StringData dbname, const BSONObj& cmdObj) from the code base. |
| Comments |
| Comment by Githook User [ 17/Aug/23 ] |
|
Author: {'name': 'Mathis Bessa', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}Message: |
| Comment by Sophia Tan [ 15/Aug/23 ] |
|
I put this ticket back to NTDI project as we decided to make all APIs (except sharding code APIs) to take in DatabaseName object instead of string. |