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

Mongodump should not use SlaveOk flag by default

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: Legacy C++ Implementation
    • Fix Version/s: 3.0.5, 3.1.5
    • Component/s: mongodump
    • Labels:

      Description

      Add an explicit slaveOk flag option and don't make it the default.

      If an exception is returned that the server is not master or slaveOk=true then it should requery w/SlaveOk (use case = non-primary/master).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kyle.erf Kyle Erf
              Reporter:
              ian.whalen Ian Whalen
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: