[SERVER-24414] Deprecate not-cursor-based agg document return Created: 06/Jun/16  Updated: 02/May/18  Resolved: 16/Jun/16

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.3.9

Type: Improvement Priority: Major - P3
Reporter: James Wahlin Assignee: David Storch
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-24623 Remove single document aggregation re... Closed
Related
related to DOCS-8117 Deprecate single document aggregation... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 16 (06/24/16)
Participants:
Case:

 Description   

Prior to MongoDB 2.6, aggregation (without a $out stage) would return results as a single document. With MongoDB 2.6 we introduced an optional cursor-based interface and made this the default in both shell and drivers. Use of the not-cursor-based option should cause the server to occasionally log a deprecation warning to the diagnostic log file.



 Comments   
Comment by Githook User [ 16/Jun/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-24414 log deprecation warning when aggregate command is used without 'cursor' option

http://dochub.mongodb.org/core/aggregate-without-cursor-deprecation
will contain the corresponding documentation.
Branch: master
https://github.com/mongodb/mongo/commit/a090547438635509681d759b598623ff66a21d64

Generated at Thu Feb 08 04:06:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.