Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Replication
Description
Currently, commands like ListIndexes call the PlanExecutor to generate a BSON Object of representing a single index return item for the command invocation. We would instead like the PlanExecutor to accept a type of xCmd and return an object of type xReplyItem (in the case of ListIndexes, we would want it to accept a type of ListIndexesCmd and return a type of ListIndexesReplyItem) so that we do not have to parse the BSON Object. We would have to make the PlanExecutor be able to return multiple types, as ListCollections calls the same functions on the PlanExecutor as well.