<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:19:14 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-71520] Dump all thread stacks on RSTL acquisition timeout</title>
                <link>https://jira.mongodb.org/browse/SERVER-71520</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56756&quot; title=&quot;Primary cannot stepDown when experiencing disk failures&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56756&quot;&gt;&lt;del&gt;SERVER-56756&lt;/del&gt;&lt;/a&gt; added an fassert to crash the server when it times out on acquiring the RSTL lock on stepUp/stepDown. We currently &lt;a href=&quot;https://github.com/10gen/mongo/blob/397f5973dce8b4ea065e829eae7d14054187f6bf/src/mongo/db/repl/replication_coordinator_impl.cpp#L2614-L2615&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;dump all locks&lt;/a&gt; before the fassert. But sometimes, the lock manager dump isn&apos;t sufficient for diagnosing the  underlying issues. Most of the time, a core dump is needed to understand what are all of the current running ops and what are they doing. Ideally, it&apos;d be helpful if we can just dump the stacktraces (&lt;tt&gt;printAllThreadStacks&lt;/tt&gt;) but that&apos;s not always feasible especially on production builds. One alternative way to do this is to selectively dump currentOp (and maybe the session catalog as well).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-71521&quot; title=&quot;Improve currentOp to include more progress info for read and crud operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-71521&quot;&gt;SERVER-71521&lt;/a&gt; is an improvement of currentOp that may help with this.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Update&lt;/b&gt;: see conversation, we decided to dump all thread stacks.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2191032">SERVER-71520</key>
            <summary>Dump all thread stacks on RSTL acquisition timeout</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="13201">Fixed</resolution>
                                        <assignee username="frederic.vitzikam@mongodb.com">Frederic Vitzikam</assignee>
                                    <reporter username="lingzhi.deng@mongodb.com">Lingzhi Deng</reporter>
                        <labels>
                            <label>repl-shortlist</label>
                    </labels>
                <created>Mon, 21 Nov 2022 16:10:22 +0000</created>
                <updated>Thu, 28 Dec 2023 19:01:23 +0000</updated>
                            <resolved>Fri, 8 Sep 2023 17:13:43 +0000</resolved>
                                                    <fixVersion>7.2.0-rc0</fixVersion>
                    <fixVersion>7.0.2</fixVersion>
                    <fixVersion>7.1.0-rc2</fixVersion>
                    <fixVersion>6.0.11</fixVersion>
                                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="5718956" author="xgen-internal-githook" created="Wed, 20 Sep 2023 18:24:35 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Frederic Vitzikam&apos;, &apos;email&apos;: &apos;frederic.vitzikam@mongodb.com&apos;, &apos;username&apos;: &apos;fredvitz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-71520&quot; title=&quot;Dump all thread stacks on RSTL acquisition timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-71520&quot;&gt;&lt;del&gt;SERVER-71520&lt;/del&gt;&lt;/a&gt; Dump all thread stacks on RSTL acquisition timeout&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7f1579c771cffa24a30b5fabc6fb3182dc79351b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7f1579c771cffa24a30b5fabc6fb3182dc79351b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5701824" author="xgen-internal-githook" created="Wed, 13 Sep 2023 18:00:37 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Frederic Vitzikam&apos;, &apos;email&apos;: &apos;frederic.vitzikam@mongodb.com&apos;, &apos;username&apos;: &apos;fredvitz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-71520&quot; title=&quot;Dump all thread stacks on RSTL acquisition timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-71520&quot;&gt;&lt;del&gt;SERVER-71520&lt;/del&gt;&lt;/a&gt; Dump all thread stacks on RSTL acquisition timeout&lt;br/&gt;
Branch: v7.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a803a33ecf3ed6ce9d762ea151257d0a6d2e2041&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a803a33ecf3ed6ce9d762ea151257d0a6d2e2041&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5696367" author="xgen-internal-githook" created="Tue, 12 Sep 2023 02:38:28 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Frederic Vitzikam&apos;, &apos;email&apos;: &apos;frederic.vitzikam@mongodb.com&apos;, &apos;username&apos;: &apos;fredvitz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-71520&quot; title=&quot;Dump all thread stacks on RSTL acquisition timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-71520&quot;&gt;&lt;del&gt;SERVER-71520&lt;/del&gt;&lt;/a&gt; Dump all thread stacks on RSTL acquisition timeout.&lt;br/&gt;
Branch: v7.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f61a333becaa4e7cfed912b446c2ce547c3e46d5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f61a333becaa4e7cfed912b446c2ce547c3e46d5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5690591" author="JIRAUSER1263789" created="Fri, 8 Sep 2023 17:24:43 +0000"  >&lt;p&gt;I checked v7.1 too because &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-71520&quot; title=&quot;Dump all thread stacks on RSTL acquisition timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-71520&quot;&gt;&lt;del&gt;SERVER-71520&lt;/del&gt;&lt;/a&gt; ended up requiring 2 PRs but the first one (using fassertFailedNoTrace, which we later found out suppress core dump too) went through v7.1 already.  Lingzhi and I think it is better to get the second half too in this case.&lt;/p&gt;</comment>
                            <comment id="5670208" author="xgen-internal-githook" created="Wed, 30 Aug 2023 19:57:01 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Frederic Vitzikam&apos;, &apos;email&apos;: &apos;frederic.vitzikam@mongodb.com&apos;, &apos;username&apos;: &apos;fredvitz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-71520&quot; title=&quot;Dump all thread stacks on RSTL acquisition timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-71520&quot;&gt;&lt;del&gt;SERVER-71520&lt;/del&gt;&lt;/a&gt; Dump all thread stacks on RSTL acquisition timeout.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a27f8aa4245082366e228b3d10e10e2baa4d601e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a27f8aa4245082366e228b3d10e10e2baa4d601e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5664691" author="xgen-internal-githook" created="Mon, 28 Aug 2023 22:48:08 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Frederic Vitzikam&apos;, &apos;email&apos;: &apos;frederic.vitzikam@mongodb.com&apos;, &apos;username&apos;: &apos;fredvitz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-71520&quot; title=&quot;Dump all thread stacks on RSTL acquisition timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-71520&quot;&gt;&lt;del&gt;SERVER-71520&lt;/del&gt;&lt;/a&gt; Dump all thread stacks on RSTL acquisition timeout&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1d79a4a974bad7b049db839422b4b79cfd92044e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1d79a4a974bad7b049db839422b4b79cfd92044e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5391501" author="billy.donahue" created="Mon, 1 May 2023 17:29:53 +0000"  >&lt;p&gt;I don&apos;t think there&apos;s any (or at least not much) special work to do here.&lt;/p&gt;

&lt;p&gt;Any thread can make the SignalHandler do its normal stack dumping via:&lt;br/&gt;
    &lt;tt&gt;kill(getpid(), SIGUSR2)&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;The trick might be figuring out when it&apos;s finished.&lt;br/&gt;
That might require some new synchronization with the SignalHandler thread.&lt;/p&gt;</comment>
                            <comment id="4998133" author="judah.schvimer" created="Mon, 21 Nov 2022 19:04:49 +0000"  >&lt;p&gt;We should double check if there&apos;s a way to print stack traces in production when we go to implement this.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="2335305">SERVER-76932</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1706674">SERVER-56756</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1918423">SERVER-61251</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2191068">SERVER-71521</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26243"><![CDATA[v7.1]]></customfieldvalue>
    <customfieldvalue key="25578"><![CDATA[v7.0]]></customfieldvalue>
    <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 21 Nov 2022 19:04:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        20 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-76932'>SERVER-76932</a></s>]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></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>backlog-server-backport</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            20 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>billy.donahue@mongodb.com</customfieldvalue>
            <customfieldvalue>frederic.vitzikam@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>lingzhi.deng@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1jeqn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0q26c:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="6863">Repl 2023-03-06</customfieldvalue>
    <customfieldvalue id="6864">Repl 2023-03-20</customfieldvalue>
    <customfieldvalue id="7170">Repl 2023-05-01</customfieldvalue>
    <customfieldvalue id="7171">Repl 2023-05-15</customfieldvalue>
    <customfieldvalue id="7172">Repl 2023-05-29</customfieldvalue>
    <customfieldvalue id="7508">Repl 2023-06-12</customfieldvalue>
    <customfieldvalue id="7509">Repl 2023-06-26</customfieldvalue>
    <customfieldvalue id="7511">Repl 2023-07-24</customfieldvalue>
    <customfieldvalue id="7625">Repl 2023-08-07</customfieldvalue>
    <customfieldvalue id="7626">Repl 2023-08-21</customfieldvalue>
    <customfieldvalue id="7627">Repl 2023-09-04</customfieldvalue>
    <customfieldvalue id="7776">Repl 2023-09-18</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_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|i1j0vz:</customfieldvalue>

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