<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:26:51 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>[SERVER-11826] DataFileSync thread should shutdown its Client cleanly</title>
                <link>https://jira.mongodb.org/browse/SERVER-11826</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The MongoDB documentation suggests that the MongoDB service should just be shut down via the Windows Service Control Manager:&lt;/p&gt;

&lt;p&gt;net stop MongoDB&lt;/p&gt;

&lt;p&gt;When I did this recently, the following was logged and I ended up with a non-zero byte mongod.lock file on disk. (I used the --repair option to fix this but it turns out this probably wasn&apos;t necessary as I had journalling enabled.)&lt;/p&gt;

&lt;p&gt;Thu Nov 21 11:08:12.011 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; got SERVICE_CONTROL_STOP request from Windows Service Control Manager, will terminate after current cmd ends&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; now exiting&lt;br/&gt;
Thu Nov 21 11:08:12.043 dbexit: &lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; shutdown: going to close listening sockets...&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; closing listening socket: 1492&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; closing listening socket: 1500&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; shutdown: going to flush diaglog...&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; shutdown: going to close sockets...&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; shutdown: waiting for fs preallocator...&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; shutdown: lock for final commit...&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; shutdown: final commit...&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1333&amp;#93;&lt;/span&gt; end connection 127.0.0.1:51612 (18 connections now open)&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1331&amp;#93;&lt;/span&gt; end connection 127.0.0.1:51610 (18 connections now open)&lt;br/&gt;
...snip...&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1322&amp;#93;&lt;/span&gt; end connection 10.1.2.212:53303 (17 connections now open)&lt;br/&gt;
Thu Nov 21 11:08:12.043 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1337&amp;#93;&lt;/span&gt; end connection 127.0.0.1:51620 (18 connections now open)&lt;br/&gt;
Thu Nov 21 11:08:12.839 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; shutdown: closing all files...&lt;br/&gt;
Thu Nov 21 11:08:14.683 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt;       Progress: 5/163 3%  (File Closing Progress)&lt;br/&gt;
Thu Nov 21 11:08:16.012 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt;       Progress: 6/163 3%  (File Closing Progress)&lt;br/&gt;
...snip...&lt;br/&gt;
Thu Nov 21 11:08:52.030 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt;       Progress: 143/163   87% (File Closing Progress)&lt;br/&gt;
Thu Nov 21 11:08:54.092 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt;       Progress: 153/163   93% (File Closing Progress)&lt;br/&gt;
Thu Nov 21 11:08:55.405 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; closeAllFiles() finished&lt;br/&gt;
Thu Nov 21 11:08:55.405 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; journalCleanup...&lt;br/&gt;
Thu Nov 21 11:08:55.405 &lt;span class=&quot;error&quot;&gt;&amp;#91;serviceShutdown&amp;#93;&lt;/span&gt; removeJournalFiles&lt;br/&gt;
Thu Nov 21 11:09:05.578 &lt;span class=&quot;error&quot;&gt;&amp;#91;DataFileSync&amp;#93;&lt;/span&gt; ERROR: Client::shutdown not called: DataFileSync&lt;/p&gt;</description>
                <environment>Windows Server 2012 R2 (64-bit)&lt;br/&gt;
Installed as a Windows Service&lt;br/&gt;
Journalling enabled&lt;br/&gt;
&lt;br/&gt;
port=27017&lt;br/&gt;
logpath=C:\Mongo\mongod-XXX.log&lt;br/&gt;
dbpath=C:\Data\Mongo\XXX&lt;br/&gt;
directoryperdb=true&lt;br/&gt;
notablescan=true&lt;br/&gt;
profile=0&lt;br/&gt;
slowms=10000&lt;br/&gt;
rest=true</environment>
        <key id="99615">SERVER-11826</key>
            <summary>DataFileSync thread should shutdown its Client cleanly</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="tjrobinson">Tom Robinson</reporter>
                        <labels>
                            <label>mongod</label>
                            <label>shutdown</label>
                            <label>windows</label>
                    </labels>
                <created>Fri, 22 Nov 2013 16:59:09 +0000</created>
                <updated>Tue, 6 Dec 2022 05:14:36 +0000</updated>
                            <resolved>Fri, 14 Sep 2018 20:07:32 +0000</resolved>
                                    <version>2.4.8</version>
                                                    <component>MMAPv1</component>
                    <component>Stability</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="462482" author="eliot" created="Wed, 27 Nov 2013 02:55:26 +0000"  >&lt;p&gt;temporary fix for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9850&quot; title=&quot;replsets/sync_passive.js fails on Windows 32-bit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9850&quot;&gt;&lt;del&gt;SERVER-9850&lt;/del&gt;&lt;/a&gt; will also fix this, though probably a cleaner way&lt;/p&gt;</comment>
                            <comment id="462479" author="eliot" created="Wed, 27 Nov 2013 02:52:32 +0000"  >&lt;p&gt;At shutdown, this is a purely cosmetic issue.&lt;br/&gt;
Will see how we can clean it up.&lt;/p&gt;</comment>
                            <comment id="460421" author="tjrobinson" created="Fri, 22 Nov 2013 17:00:23 +0000"  >&lt;p&gt;StackOverflow posting that prompted this bug report:&lt;br/&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/20142123/whats-the-safest-way-to-shut-down-mongodb-when-running-as-a-windows-service?noredirect=1#comment30022908_20142123&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://stackoverflow.com/questions/20142123/whats-the-safest-way-to-shut-down-mongodb-when-running-as-a-windows-service?noredirect=1#comment30022908_20142123&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Possible related issue:&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2719&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-2719&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="77624">SERVER-9850</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 27 Nov 2013 02:52:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 12 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 12 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>tjrobinson</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm6u7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4639</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsp3xr:</customfieldvalue>

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