[SERVER-67460] Change BasicCommandWithRequestParser to use DatabaseName Created: 22/Jun/22 Updated: 29/Oct/23 Resolved: 12/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Fernando Lisboa (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Server Serverless 2022-07-11, Server Serverless 2022-07-25 |
| Participants: |
| Description |
|
Change BasicCommandWithRequestParser::runWithRequestParser to take in DatabaseName, and then ChangeBasicCommandWithRequestParser::runWithReplyBuilder can pass the DatabaseName object to it directly. Also, change BasicCommandWithRequestParser::_parseRequest to take in a DatabaseName object. If we've already done the work to pass a tenantId to the BSONObj parse function, pass the tenantId on the DatabaseName object to RequestType::parse() - otherwise can do this in a future ticket. There are ~8 commands that override BasicCommandWithRequestParser::runWithRequestParser, we'll need to change these to use DatabaseName. |
| Comments |
| Comment by Githook User [ 11/Jul/22 ] |
|
Author: {'name': 'Fernando Lisboa', 'email': 'fernando.lisboa@mongodb.com', 'username': 'fernandolis10'}Message: |