Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2527

mongodump option to use slaves instead of master

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Tools
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: