Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-176

Mongodump runs with slaveOk on mongos.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      When mongodump is run through mongos on a sharded collection, the queries are sent to secondaries with slaveOk. This is currently not documented anywhere. Please add it to the mongodump documentation.

      The relevant code is located in the doCollection() method (Line 96) in dump.cpp:
      https://github.com/mongodb/mongo/blob/master/src/mongo/tools/dump.cpp

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            mbastien Marc Bastien
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 47 weeks, 1 day ago