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

DBCollection aggregate methods that take AggregationOptions fail to set slaveOk bit when read preference demands it

      The DBCollection aggregate method overloads that take AggregationOptions fail to set slaveOk bit when read preference demands it. When connected to a replica set, this will result in a CommandFailureException with the error message "not master".

            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: