[JAVA-1626] ListCollectionsOperation filters namespaces incorrectly Created: 20/Jan/15  Updated: 31/Mar/15  Resolved: 22/Jan/15

Status: Closed
Project: Java Driver
Component/s: Command Operations
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

com.mongodb.operation.ListCollectionsOperation.FilteringBatchCursor and com.mongodb.operation.ListCollectionsOperation.FilteringAsyncBatchCursor report incorrect results due to the filtering behavior. In the case where an entire batch is filtered out, hasNext can return true when there are no more results, and next can return an empty batch.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Properly filter non-collections from system.namespaces query in ListCollectionsOperation

JAVA-1626
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d7aa4432a790b438dc517ea123c73c1d4065b381

Comment by Githook User [ 22/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Properly filter non-collections from system.namespaces query in ListCollectionsOperation

JAVA-1626
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/d7aa4432a790b438dc517ea123c73c1d4065b381

Generated at Thu Feb 08 08:55:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.