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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • v1.3.11
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved:
              9 years, 33 weeks, 2 days ago