[JAVA-2442] Always include cursor document in aggregate command for MongoDB versions >= 3.6 Created: 07/Feb/17  Updated: 21/Apr/17  Resolved: 21/Feb/17

Status: Closed
Project: Java Driver
Component/s: Query Operations
Affects Version/s: None
Fix Version/s: 3.5.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

Inline results for the aggregate command was deprecated in MongoDB 3.4 and will be removed in MongoDB 3.6. The driver should ensure that, even when the application explicitly requests that a cursor not be used, a cursor is always requested when connected to a MongoDB server with version >= 3.6.

Additionally, the default to an inline result in DBCollection aggregate methods should be changed to a cursor result.



 Comments   
Comment by Githook User [ 21/Feb/17 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-2442: Default to cursor results in DBCollection for aggregation, force sending of cursor document to aggregate command for 3.6 servers
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/b35d06a12c085e89c390d95c3fc57d48319e275f

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