[SERVER-53159] Convert getMore command implementation to inherit from IDL-generated base class Created: 01/Dec/20 Updated: 06/Mar/21 Resolved: 06/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Samyukta Lanka | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | Repl 2021-03-08 | ||||||||
| Participants: | |||||||||
| Comments |
| Comment by A. Jesse Jiryu Davis [ 06/Mar/21 ] |
|
We can't convert the mongod or mongos getMore command implementations to TypedCommand easily: the internal code assumes we can build the BSON reply object gradually instead of returning a type-safe reply struct. I think it's possible to use BasicCommandWithRequestParser, but it would require more rearrangement than I believe is worthwhile. |