mongodump option to use slaves instead of master

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Tools
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            David Mytton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: