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

storage.repairPath only applies to MMAPv1

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.14
    • Affects Version/s: None
    • Component/s: Server
    • Labels:
      None

      https://docs.mongodb.com/manual/reference/configuration-options/#storage.repairPath states:

      Not available for mongod instances that use the in-memory storage engine.
      

      However MongoDB 3.4 with WiredTiger produces this error message when run with the repairpath option:

      [initandlisten] exception in initAndListen: 40311 Cannot start server. The command line option '--repairpath' is only supported by the mmapv1 storage engine, terminating 
      

      This behaviour was added in MongoDB 3.3.14 as per SERVER-25008. Based on HELP-2295, repairpath has always been ignored by storage engines other than MMAPv1, but previously we silently ignored the option.

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            james.kovacs@mongodb.com James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

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