[JAVA-1140] DBCursor.hasNext malfunctioned with complex query and batchSize specified Created: 07/Mar/14 Updated: 11/Sep/19 Resolved: 08/Mar/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API, Query Operations |
| Affects Version/s: | 2.11.1 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | John Doe | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | driver | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
server version: 2.4.3 |
||
| Description |
|
when we issue a complex query with batchSize (50) but, while loop break after 50 times loop if we leave batchSize unspecfied, then cursor.hasNext() works fine is this a bug or limitation ? complex query: , { "Visible" : true}, { "Status" : { "$ne" : "DELETED"}} , { "VersionId" : -1}, { "PositionIds" : { "$in" : [ 12]}}]} |
| Comments |
| Comment by Githook User [ 12/Mar/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by Githook User [ 12/Mar/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by Jeffrey Yemin [ 08/Mar/14 ] |
|
Hi John, Thanks for doing the additional research to figure out the root cause. I'm going to close this issue since there's nothing we can do in the JAVA driver to address it. |
| Comment by John Doe [ 08/Mar/14 ] |
|
seems the problem cause by https://jira.mongodb.org/browse/SERVER-7267 |