<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:40: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>[SERVER-16396] Replication stall, then one secondary would not shut down (mmapv1)</title>
                <link>https://jira.mongodb.org/browse/SERVER-16396</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Please see attached graphs showing behavior on our 2.8.0rc1 (mmapv1) replica set.&lt;/p&gt;

&lt;p&gt;We experienced the following series of events:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Rapidly climbing replication lag on both secondaries.  Observed IOPS on the secondaries was very high.&lt;/li&gt;
	&lt;li&gt;Getmore counter dropped off to zero on the primary&lt;/li&gt;
	&lt;li&gt;Restarted one secondary (onprem-2).  On restart, its replication lag fell off immediately back down to zero.&lt;/li&gt;
	&lt;li&gt;Getmore counter on primary started looking more normal&lt;/li&gt;
	&lt;li&gt;Attempted to shutdown the other secondary (onprem-3).  It would not shutdown.  gdb dump attached.&lt;/li&gt;
	&lt;li&gt;After hard killing the other secondary and restarting it&apos;s replication lag also fell off to zero.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Will link to logs for all nodes.&lt;/p&gt;</description>
                <environment></environment>
        <key id="172374">SERVER-16396</key>
            <summary>Replication stall, then one secondary would not shut down (mmapv1)</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="3">Duplicate</resolution>
                                        <assignee username="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="cailin.nelson@mongodb.com">Cailin Nelson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Dec 2014 23:08:17 +0000</created>
                <updated>Wed, 21 Jan 2015 17:02:23 +0000</updated>
                            <resolved>Wed, 21 Jan 2015 17:02:14 +0000</resolved>
                                    <version>2.8.0-rc1</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="809656" author="schwerin" created="Wed, 21 Jan 2015 17:02:14 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16834&quot; title=&quot;Secondary nodes can hang during shutdown if BGSync::_buffer is full&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16834&quot;&gt;&lt;del&gt;SERVER-16834&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="777037" author="schwerin" created="Wed, 3 Dec 2014 00:10:59 +0000"  >&lt;p&gt;The attached stack trace indicates that the secondary that got stuck shutting down froze up waiting for the bgsync thread to terminate.  That thread is waiting on a condition variable, presumably &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/bgsync.cpp#L210-L212&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this one&lt;/a&gt;, but I&apos;m not 100% certain because the stack trace appears to have been taken from a host that didn&apos;t have access to the debugging symbols.&lt;/p&gt;

&lt;p&gt;Notice that thread 11 is waiting in bgsync, and thread 2 is waiting for replication to shutdown a thread (presumably bgsync).  Thread 1 is just sleeping forever because it was not the first thread to call exitCleanly.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="178556">SERVER-16834</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="58454" name="mms-on-prem-3.backtrace" size="17753" author="cailin.nelson@mongodb.com" created="Tue, 2 Dec 2014 23:08:17 +0000"/>
                            <attachment id="58452" name="onprem-2.png" size="137277" author="cailin.nelson@mongodb.com" created="Tue, 2 Dec 2014 23:08:17 +0000"/>
                            <attachment id="58453" name="onprem.png" size="142456" author="cailin.nelson@mongodb.com" created="Tue, 2 Dec 2014 23:08:17 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 3 Dec 2014 00:10:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 4 weeks 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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 4 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>cailin.nelson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlhif:</customfieldvalue>

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

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

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