[JAVA-1572] Ensure that aggregate and mapReduce MongoIterables wait for any collection based operations Created: 26/Nov/14 Updated: 26/Nov/14 Resolved: 26/Nov/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Async |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ross Lawley | Assignee: | Ross Lawley |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently there is a race and the aggregate / map reduce returns immediately with a MongoIterable which could be iterated before the aggregate / map reduce has completed. |