Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8641

--w doesn't exist for mongorestore (since v3.0)

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • 0.25

    Description

      The --w mongorestore option was removed in v3.0, but not from the docs (oops). We should also clarify what the default writeConcern is for mongorestore.

      This would be a good time to audit mongorestore for other potential sads.

      From the source:

      write concern options e.g. --writeConcern majority, --writeConcern '{w: 3, wtimeout: 500, fsync: true, j: true}' (defaults to 'majority')
      

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            allison.moore@mongodb.com Allison Reinheimer Moore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 25 weeks, 1 day ago