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

Add repair option to rc.d/init.d script

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.7.5
    • None
    • Packaging
    • None
    • Arch linux 64

    Description

      running mongod --repair, without the same options as used via the rc.d script, isn't going to work.

      Running repair therefore involves looking at the rc.d script to get the correct options. To make things easier the attached diff (against http://aur.archlinux.org/packages/mongodb/mongodb/mongodb.rc) adds repair as an option to the startup script. I didn't add removing the lock file as there is an open ticket to remove the lock file (or try to) as part of the repair process.

      Attachments

        Activity

          People

            richard.kreuter Richard Kreuter (Inactive)
            ad7six Andy Dawson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: