allanbank / mongodb-async-driver

The MongoDB Asynchronous Java Driver.
Apache License 2.0
22 stars 14 forks source link

Unrecognized field 'allowDiskUsage' while using aggregate query #18

Open SVGitHub opened 9 years ago

SVGitHub commented 9 years ago

When setting the field 'allowDiskUsage' to true, getting error from mongodb as "Unrecognized field 'allowDiskUsage'". We are using mongodb version 2.6.6 and here the keyword to allow disk access is 'allowDiskUse' and not 'allowDiskUsage'. This is causing the issue.

allanbank commented 9 years ago

We just pushed the fix to the 2.0 development branch. I can create a patched jar file if you need one just let me know.

SVGitHub commented 9 years ago

Thanks for the response. It will be grateful if i get a jar with this fix. You can reach me at manjunatha.kb@hotmail.com.

allanbank commented 9 years ago

You can download the jar from this link:

http://www.allanbank.com/mongodb-async-driver-2.0.2-SNAPSHOT.jar

Let me know if this fixes the issue so I can close the ticket.

Rob.