[SERVER-19133] LegacyReply should be able to provide getOutputDocs interface Created: 25/Jun/15  Updated: 05/Feb/16  Resolved: 08/Jul/15

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.1.6

Type: Bug Priority: Major - P3
Reporter: Adam Midvidy Assignee: Misha Tyulenev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform 6 07/17/15
Participants:

 Description   

Currently getOutputDocs is a no-op on LegacyReply.

To use ReplyInterface to read find command responses, we will need to provide an implementation of getOutputDocs.

It should use a BSONArrayDocumentRange (SERVER-19132) to provide the same interface as CommandReply using the nested output docs in the "firstBatch" field of the find command response.



 Comments   
Comment by Githook User [ 08/Jul/15 ]

Author:

{u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}

Message: SERVER-18930 SERVER-19060 SERVER-19132 SERVER-19133 Implement LegacyReply(Builder) API and up/down conversions
Branch: master
https://github.com/mongodb/mongo/commit/5bd86559ad505c1219bd3f9ad8775b1594669381

Generated at Thu Feb 08 03:49:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.