<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:46:55 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-3972] Better document --shutdown (Don&apos;t say we use it in control scripts)</title>
                <link>https://jira.mongodb.org/browse/DOCS-3972</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;The mongod docs say of the --shutdown flag: &quot;Used in control scripts, the --shutdown option cleanly and safely terminates the mongod process.&quot;  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 &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/rpm/init.d-mongod&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/rpm/init.d-mongod&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/debian/init.d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/debian/init.d&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;</description>
                <environment></environment>
        <key id="155925">DOCS-3972</key>
            <summary>Better document --shutdown (Don&apos;t say we use it in control scripts)</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="sam.kleinman">Sam Kleinman</assignee>
                                    <reporter username="snichol">Scott Nichol</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Sep 2014 16:40:13 +0000</created>
                <updated>Mon, 16 Mar 2015 23:56:43 +0000</updated>
                            <resolved>Tue, 9 Sep 2014 15:52:31 +0000</resolved>
                                                    <fixVersion>v1.3.11</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="714656" author="xgen-internal-githook" created="Tue, 9 Sep 2014 15:52:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-3972&quot; title=&quot;Better document --shutdown (Don&amp;#39;t say we use it in control scripts)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-3972&quot;&gt;&lt;del&gt;DOCS-3972&lt;/del&gt;&lt;/a&gt;: clean fact from config&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/528d32a68a57ff8e79799b9ca2d4dd2301cd2655&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/528d32a68a57ff8e79799b9ca2d4dd2301cd2655&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="709651" author="ernie.hershey@10gen.com" created="Tue, 2 Sep 2014 20:43:51 +0000"  >&lt;p&gt;Good catches, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=snichol&quot; class=&quot;user-hover&quot; rel=&quot;snichol&quot;&gt;snichol&lt;/a&gt;! I removed the FIXME which I think is far out of date now. I also moved this to the DOCS project and agree we should be clearer about it in the docs. &lt;/p&gt;</comment>
                            <comment id="709648" author="xgen-internal-githook" created="Tue, 2 Sep 2014 20:40:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ehershey&apos;, u&apos;name&apos;: u&apos;Ernie Hershey&apos;, u&apos;email&apos;: u&apos;ernie.hershey@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-3972&quot; title=&quot;Better document --shutdown (Don&amp;#39;t say we use it in control scripts)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-3972&quot;&gt;&lt;del&gt;SERVER-15114&lt;/del&gt;&lt;/a&gt; Remove misleading init script comment&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/65be70d436feaff4de13f3508e5115eccc14056f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/65be70d436feaff4de13f3508e5115eccc14056f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="709595" author="snichol" created="Tue, 2 Sep 2014 20:01:22 +0000"  >&lt;p&gt;OK, I did a little more research that I probably should have done before creating this ticket.  The code in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/db.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/src/mongo/db/db.cpp&lt;/a&gt; that implements --shutdown ultimately does a kill(pid, SIGTERM), so the killing done in the control scripts leads to &quot;safe and clean&quot; shutdown.  The real difference of --shutdown is that it will use the lock file in dbpath to get the pid, rather than the mechanism the control script has for tracking the pid.&lt;/p&gt;

&lt;p&gt;This behavior is presumably by design.  The documentation for --shutdown should be clear about the difference between this option and the behavior of the control scripts included in the distro, and the FIXME comment in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/rpm/init.d-mongod&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/rpm/init.d-mongod&lt;/a&gt; should make it clear that not using --shutdown creates no &quot;cleanliness&quot; problem (or maybe remove the FIXME?).&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 2 Sep 2014 17:09:11 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 23 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 23 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ernie.hershey@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
            <customfieldvalue>snichol</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrqtyf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs1ven:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>135552</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hryp2v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>