aggregate sets read preference option incorrectly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Implementation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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;
         }
      

              Assignee:
              Samuel Rossi (Inactive)
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: