Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aggregation options parameters to @Aggregation annotation [DATAMONGO-2449] #3304

Closed
spring-projects-issues opened this issue Jan 10, 2020 · 1 comment

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Jan 10, 2020

Andrey Karayvansky opened DATAMONGO-2449 and commented

@Aggregation is a very handy 2.2 addition. 

Using it I'm getting this mongo error (a tricky one, I was not getting it in QA and integration tests, but it appeared right in prod):


Exceeded memory limit for $group, but didn't allow external sort. Pass allowDiskUse:true to opt in.

Please add allowDiskUse and other relevant aggregation options to the annotation.
https://docs.mongodb.com/manual/reference/command/aggregate/


Referenced from: pull request #827

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Jan 10, 2020

Andrey Karayvansky commented

A similar issue for MongoTemplate DATAMONGO-960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants