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

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


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.

Referenced from: pull request #827

Copy link

@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
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants