Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Aggregation size limit exceeded while CloudSync #250

Closed
westei opened this issue May 15, 2018 · 1 comment
Closed

Aggregation size limit exceeded while CloudSync #250

westei opened this issue May 15, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@westei
Copy link
Member

westei commented May 15, 2018

The actual exception:

Caused by: com.mongodb.MongoCommandException: Command failed with error 16389: 'aggregation result exceeds maximum document size (16MB)' on server 10.53.74.201:27017. The full response is { "ok" : 0.0, "errmsg" : "aggregation result exceeds maximum document size (16MB)", "code" : 16389, "codeName" : "Location16389" }
	at com.mongodb.CommandResult.getException(CommandResult.java:80)
	at com.mongodb.CommandResult.throwOnError(CommandResult.java:94)
	at org.springframework.data.mongodb.core.MongoTemplate.handleCommandError(MongoTemplate.java:2100)
	... 26 more
@westei westei added this to the v0.7.3 milestone May 15, 2018
@westei westei self-assigned this May 15, 2018
@westei
Copy link
Member Author

westei commented May 15, 2018

To avoid this one needs to execute the sync in batches so that each batch in under the 16MByte limit

@ja-fra ja-fra closed this as completed in be9b694 May 16, 2018
@ghost ghost removed the in review label May 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant