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

mongotools do not respect readPreference=secondaryPreferred

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • All Tools

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: