[DOCS-176] Mongodump runs with slaveOk on mongos. Created: 27/Mar/12  Updated: 08/Sep/12  Resolved: 27/Mar/12

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Marc Bastien Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 11 years, 47 weeks, 1 day ago

 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



 Comments   
Comment by auto [ 27/Mar/12 ]

Author:

{u'login': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-176: adding note about mongos and mongodump behavior
Branch: master
https://github.com/mongodb/docs/commit/b182fe48a456559e8296557d5b5efb56db1c6217

Generated at Thu Feb 08 07:38:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.