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

Mongodump runs with slaveOk on mongos.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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

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

              Created:
              Updated:
              Resolved:
              12 years, 6 weeks, 1 day ago