Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1683

mongotools do not respect readPreference=secondaryPreferred

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: All Tools
    • Labels:

      Specifying --readPreference=secondaryPreferred always results in the replica set primary server being selected.

      This appears to be due to a bug in the MGO driver that does not handle secondaryPreferred and therefore defaults to primary.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            john.murphy@mongodb.com John Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: