Documentation about it: 
https://docs.mongodb.com/manual/release-notes/3.6-compatibility/#aggregate-command-and-results
 and https://docs.mongodb.com/manual/reference/command/aggregate/#example


---

** [tickets:#8348] Support mongo 3.6+**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Jan 22, 2020 07:13 PM UTC by Dave Brondsema
**Last Updated:** Wed Jan 22, 2020 07:13 PM UTC
**Owner:** nobody


Reported initially at [#7935] this occurs during a project export, probably 
other places too:
```
OperationFailure: command SON([('aggregate', u'attachment.files'),
('pipeline', [{'$match': {'_id': {'$in': []}}}, {'$group': {'total_size':
{'$sum': '$length'}, '_id': 'total'}}, {'$project': {'total_size':
{'$divide': ['$total_size', 1000000]}, '_id': 0}}])]) on namespace
project-data.$cmd failed: The 'cursor' option is required, except for
aggregate with the explain argument
```


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to