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

Better document --shutdown (Don't say we use it in control scripts)

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.11
    • None
    • manual
    • None

    Description

      The mongod docs say of the --shutdown flag: "Used in control scripts, the --shutdown option cleanly and safely terminates the mongod process." Unfortunately, the control scripts that are provided with mongod do not use this product feature, but instead execute the platform-typical kill. Examples of such scripts are https://github.com/mongodb/mongo/blob/master/rpm/init.d-mongod and https://github.com/mongodb/mongo/blob/master/debian/init.d.

      If the control scripts do not use --shutdown because kill -TERM is just as safe and clean, then either the --shutdown docs should say so or the --shutdown option should be removed altogether.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            snichol Scott Nichol
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 23 weeks, 1 day ago