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

mongotools do not respect readPreference=secondaryPreferred

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting (Blocked)
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: All Tools
    • Labels:

      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

              • Assignee:
                backlog-server-tools Backlog - Server Tools Team
                Reporter:
                john.murphy John Murphy
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: