Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1285

aggregate sets read preference option incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Implementation
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Perl/CXX 2017-04-14

      Description

      When given a read preference in the options to aggregate, read preferences are set from the collection object instead of the option:

         if (options.read_preference()) {
             rp_ptr = read_preference()._impl->read_preference_t;
         }
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: