Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1626

ListCollectionsOperation filters namespaces incorrectly

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0
    • Affects Version/s: None
    • Component/s: Command Operations
    • Labels:
      None

      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.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: