[CDRIVER-2385] Parse document streams from OP_MSG replies Created: 17/Nov/17  Updated: 13/Feb/19  Resolved: 13/Feb/19

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-528 Support Command Return as OP_MSG Docu... Closed
Case:

 Description   

MongoDB 3.8 will reply with a document stream to query-like commands such as "find" and "aggregate". This will require a spec for all drivers about how to negotiate the wire protocol upgrade. Handle document streams from OP_MSG replies. Update mongoc_apm_command_succeeded_init and mongoc_apm_command_succeeded_get_documents to expose the document sequence directly from OP_MSG instead of simulating it from a reply body.



 Comments   
Comment by Kevin Albertson [ 13/Feb/19 ]

Server team decided not to return document sequences (for now at least) in SERVER-38206.

Comment by A. Jesse Jiryu Davis [ 15/Mar/18 ]

Right.

Comment by Scott L'Hommedieu (Inactive) [ 15/Mar/18 ]

Is this blocked on server completing this work? Represented in PM-948 ?

Generated at Wed Feb 07 21:15:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.