<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:03:37 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-11774] [Server] Specify correct shutdown command behavior</title>
                <link>https://jira.mongodb.org/browse/DOCS-11774</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;The documentation for &lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/shutdown/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;shutdown&lt;/a&gt; states that the command returns an error if no secondaries are caught up to within 10 seconds of lag. &lt;/p&gt;

&lt;p&gt;A while ago, we changed the behavior to match what the &lt;a href=&quot;https://docs.mongodb.com/manual/reference/method/rs.stepDown/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;stepDown&lt;/a&gt; command does, with passed parameters of &quot;10 seconds&quot; for the wait time and &quot;120 seconds&quot; for the freeze time.&lt;/p&gt;</description>
                <environment>&lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/shutdown/&quot;&gt;https://docs.mongodb.com/manual/reference/command/shutdown/&lt;/a&gt;</environment>
        <key id="555138">DOCS-11774</key>
            <summary>[Server] Specify correct shutdown command behavior</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="jason.price@mongodb.com">Jason Price</assignee>
                                    <reporter username="milkie@mongodb.com">Eric Milkie</reporter>
                        <labels>
                            <label>quick-win</label>
                            <label>reopened</label>
                            <label>server-docs-bug-bash</label>
                    </labels>
                <created>Wed, 6 Jun 2018 18:19:11 +0000</created>
                <updated>Mon, 13 Nov 2023 18:34:17 +0000</updated>
                            <resolved>Tue, 18 Jul 2023 22:51:51 +0000</resolved>
                                                    <fixVersion>5.0.0</fixVersion>
                    <fixVersion>6.0.0</fixVersion>
                    <fixVersion>6.3</fixVersion>
                    <fixVersion>7.0.0</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="5563622" author="milkie" created="Thu, 13 Jul 2023 13:52:38 +0000"  >&lt;p&gt;I looked into exactly how the code behaves today (7.0 version).  I found that the help text for the &lt;tt&gt;mongod&lt;/tt&gt; command is accurate, and we can crib the docs page off its text:&lt;br/&gt;
              &quot;Shuts down the database. Must be run against the admin database and either (1) run &quot;&lt;br/&gt;
               &quot;from localhost or (2) run while authenticated with the shutdown privilege. If the &quot;&lt;br/&gt;
               &quot;node is the primary of a replica set, waits up to &apos;timeoutSecs&apos; for an electable &quot;&lt;br/&gt;
               &quot;node to be caught up before stepping down. If &apos;force&apos; is false and no electable &quot;&lt;br/&gt;
               &quot;node was able to catch up, does not shut down. If the node is in state SECONDARY &quot;&lt;br/&gt;
               &quot;after the attempted stepdown, any remaining time in &apos;timeoutSecs&apos; is used for &quot;&lt;br/&gt;
               &quot;quiesce mode, where the database continues to allow operations to run, but directs &quot;&lt;br/&gt;
               &quot;clients to route new operations to other replica set members.&quot;&lt;/p&gt;

&lt;p&gt;The current default for timeoutSecs remains 15 seconds, for both flavors of the command on mongod and mongos.&lt;/p&gt;

&lt;p&gt;For mongos, the shutdown behavior is:&lt;br/&gt;
               &quot;Spends &quot;&lt;br/&gt;
               &quot;&apos;timeoutSecs&apos; in quiesce mode, where the mongos continues to allow in-progress operations to &quot;&lt;br/&gt;
               &quot;run, but directs clients to route new operations to other mongos nodes.&quot;;&lt;/p&gt;

&lt;p&gt;After I wrote the original description of this ticket, the code was changed further, and the &quot;120 seconds freeze time&quot; no longer applies.&lt;/p&gt;</comment>
                            <comment id="4948088" author="JIRAUSER1264463" created="Wed, 2 Nov 2022 14:22:26 +0000"  >&lt;p&gt;Thanks for the confirm, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;milkie@mongodb.com&quot;&gt;milkie@mongodb.com&lt;/a&gt;. We&apos;re attempting to work through our backlog. We&apos;ll triage this one.&lt;/p&gt;</comment>
                            <comment id="4941637" author="milkie" created="Mon, 31 Oct 2022 18:27:52 +0000"  >&lt;p&gt;I&apos;m not sure why this ticket had no activity on it.  I originally filed this ticket in order to get a correction made in the server documentation.&lt;/p&gt;</comment>
                            <comment id="4940583" author="edu.bot" created="Mon, 31 Oct 2022 16:07:46 +0000"  >&lt;p&gt;Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!&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_14258" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Baseline start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 12 Jul 2023 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 31 Oct 2022 16:07:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        29 weeks, 6 days 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_14873" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker">
                        <customfieldname>External Reviewer</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[milkie@mongodb.com]]></customfieldvalue>
    
                        </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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            29 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>edu.bot</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>jason.price@mongodb.com</customfieldvalue>
            <customfieldvalue>sarah.olson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htzxc7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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|htzjlj:</customfieldvalue>

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