-
Type: Bug
-
Resolution: Done
-
Priority: 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