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

Mongodump should not use SlaveOk flag by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Done
    • Legacy C++ Implementation
    • 3.0.5, 3.1.5
    • mongodump
    • Kernel Tools Iteration 5
    • Completed

    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

              kyle.erf Kyle Erf
              ian@mongodb.com Ian Whalen (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: