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

    XMLWordPrintableJSON

Details

    Description

      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".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: