allanbank / mongodb-async-driver

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

Support exhaust queries in non-sharded environments. #6

Open allanbank opened 9 years ago

allanbank commented 9 years ago

Currently the driver does not support exhaust queries since many of the benefits of exhaust are already available to users just by the nature of the driver being asynchronous (e.g., we can avoid client stalls by just using an appropriate batch size).

To be complete we should add support for exhaust queries. This means that the driver will need to detect that a reply applies to the "previous" callback.

allanbank commented 9 years ago

Looks like exhaust may be going away in the 3.0 version of the server... See https://jira.mongodb.org/browse/JAVA-1520.