Hi, for mongo as a source connector, I am getting...
# replication-troubleshooting
m
Hi, for mongo as a source connector, I am getting this error 'PlanExecutor error during aggregation :: caused by :: Exceeded memory limit for $group, but didn't allow external sort. Pass allowDiskUse:true to opt in.' How do I allowDiskUse: true is there any configuration? - dockerImage: "airbyte/source-mongodb-v2:0.1.19"
Copy code
Something went wrong in the connector. See the logs for more details.
Stack Trace: com.mongodb.MongoCommandException: Command failed with error 292 (QueryExceededMemoryLimitNoDiskUseAllowed): 'PlanExecutor error during aggregation :: caused by :: Exceeded memory limit for $group, but didn't allow external sort. Pass allowDiskUse:true to opt in.' on server cluster0-shard-00-01.ucrrp.mongodb.net:27017. The full response is {"ok": 0.0, "errmsg": "PlanExecutor error during aggregation:: caused by :: Exceeded memory limit for $group, but didn't allow external sort. Pass allowDiskUse:true to opt in.", "code": 292, "codeName": "QueryExceededMemoryLimitNoDiskUseAllowed", "$clusterTime": {"clusterTime": {"$timestamp": {"t": 1677123912, "i": 96}}, "signature": {"hash": {"$binary": {"base64": "ZuTk1CUhOayPeR/0ir98n3rSvOA=", "subType": "00"}}, "keyId": 7168578009350275074}}, "operationTime": {"$timestamp": {"t": 1677123912, "i": 96}}}
	at com.mongodb.internal.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:198)
Also tested with airbyte cloud same issue.
is reducing DISCOVER_LIMIT will work? if anybody has idea on this?
🙏 1
any update on this? It would be great if somebody could help contribute to this change.
c
Hey @Manav Kothari any update to this? I am also facing this issue.