[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:
Depends
depends on SERVER-53149 Specify input/output to getMore comma... Closed
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.

Generated at Thu Feb 08 05:30:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.