[SERVER-2527] mongodump option to use slaves instead of master Created: 10/Feb/11  Updated: 17/Mar/11  Resolved: 10/Feb/11

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: David Mytton Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

mongodump is pretty intensive so I always run it against the slaves. However, this is more difficult in a sharded environment using replica sets because the data will be distributed and servers might change roles. It would be useful to have a flag where mongodump will connect through mongos but always choose the slave to read from.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 10/Feb/11 ]

Note: this requires 1.7.5+

Comment by Eliot Horowitz (Inactive) [ 10/Feb/11 ]

It already should be doing this.
If its not, please let us know.

Generated at Thu Feb 08 03:00:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.