<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:36:47 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-77851] Address recursive lock acquisition while shutting down the `ServerDiscoveryMonitor`</title>
                <link>https://jira.mongodb.org/browse/SERVER-77851</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;tt&gt;ServerDiscoveryMonitor&lt;/tt&gt; cancels its ongoing remote calls during shutdown, while holding &lt;tt&gt;SingleServerDiscoveryMonitor::_mutex&lt;/tt&gt;. This may result in recursive lock acquisition, which could result in dead-locks: &lt;a href=&quot;https://linux.die.net/man/3/pthread_mutex_lock&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://linux.die.net/man/3/pthread_mutex_lock&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2359945">SERVER-77851</key>
            <summary>Address recursive lock acquisition while shutting down the `ServerDiscoveryMonitor`</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="13203">Gone away</resolution>
                                        <assignee username="backlog-server-sharding-nyc">[DO NOT USE] Backlog - Sharding NYC</assignee>
                                    <reporter username="amirsaman.memaripour@mongodb.com">Amirsaman Memaripour</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Jun 2023 18:48:29 +0000</created>
                <updated>Fri, 27 Oct 2023 20:44:45 +0000</updated>
                            <resolved>Wed, 7 Jun 2023 12:44:45 +0000</resolved>
                                                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5481323" author="george.wangensteen" created="Wed, 7 Jun 2023 14:38:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=amirsaman.memaripour%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;amirsaman.memaripour@mongodb.com&quot;&gt;amirsaman.memaripour@mongodb.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn@mongodb.com&quot;&gt;max.hirschhorn@mongodb.com&lt;/a&gt; , just to be clear, we plan on re-merging &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-77403&quot; title=&quot;Remove TaskExecutor fulfilling response with CallbackCanceled &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-77403&quot;&gt;&lt;del&gt;SERVER-77403&lt;/del&gt;&lt;/a&gt; after the changes from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-77707&quot; title=&quot;Always invoke onReply callback out-of-line for exhaust commands in NetworkInterfaceTL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-77707&quot;&gt;&lt;del&gt;SERVER-77707&lt;/del&gt;&lt;/a&gt; land. Based on my understanding of this ticket and the linked BF, that should be fine / also fix the BF. Let me know if that doesn&apos;t sound correct to you.&#160;&lt;/p&gt;</comment>
                            <comment id="5480795" author="amirsaman.memaripour" created="Wed, 7 Jun 2023 12:44:45 +0000"  >&lt;p&gt;Thank you &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn@mongodb.com&quot;&gt;max.hirschhorn@mongodb.com&lt;/a&gt; for brining &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-77403&quot; title=&quot;Remove TaskExecutor fulfilling response with CallbackCanceled &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-77403&quot;&gt;&lt;del&gt;SERVER-77403&lt;/del&gt;&lt;/a&gt; to my attention. Now that it is reverted, this is no longer an issue since &lt;tt&gt;ThreadPoolTaskExecutor&lt;/tt&gt; no longer runs its callback (inline) upon cancellation.&lt;/p&gt;</comment>
                            <comment id="5479794" author="max.hirschhorn@10gen.com" created="Tue, 6 Jun 2023 23:14:21 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=amirsaman.memaripour%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;amirsaman.memaripour@mongodb.com&quot;&gt;amirsaman.memaripour@mongodb.com&lt;/a&gt;, I believe we also reverted the changes from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-77403&quot; title=&quot;Remove TaskExecutor fulfilling response with CallbackCanceled &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-77403&quot;&gt;&lt;del&gt;SERVER-77403&lt;/del&gt;&lt;/a&gt; in &lt;a href=&quot;https://github.com/mongodb/mongo/commit/0943108cb19313801f5d91ccec299cfb567dd7bc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;0943108&lt;/a&gt; and so BF-28965 shouldn&apos;t have any reoccurrences. I think we can probably close &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-77851&quot; title=&quot;Address recursive lock acquisition while shutting down the `ServerDiscoveryMonitor`&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-77851&quot;&gt;&lt;del&gt;SERVER-77851&lt;/del&gt;&lt;/a&gt; as Won&apos;t Do. CC &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=george.wangensteen%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;george.wangensteen@mongodb.com&quot;&gt;george.wangensteen@mongodb.com&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5479198" author="amirsaman.memaripour" created="Tue, 6 Jun 2023 19:25:19 +0000"  >&lt;p&gt;Linked &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-77707&quot; title=&quot;Always invoke onReply callback out-of-line for exhaust commands in NetworkInterfaceTL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-77707&quot;&gt;&lt;del&gt;SERVER-77707&lt;/del&gt;&lt;/a&gt; as related, since if we make the suggested change to &lt;tt&gt;NetworkInterface&lt;/tt&gt;, the recursive lock acquisition described here won&apos;t happen, thus this ticket can become a duplicate if &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-77707&quot; title=&quot;Always invoke onReply callback out-of-line for exhaust commands in NetworkInterfaceTL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-77707&quot;&gt;&lt;del&gt;SERVER-77707&lt;/del&gt;&lt;/a&gt; gets merged first/soon.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="2348178">SERVER-77403</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2356256">SERVER-77707</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25134"><![CDATA[Sharding NYC]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 6 Jun 2023 23:14:21 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        35 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>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            35 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>135.0</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding-nyc</customfieldvalue>
            <customfieldvalue>amirsaman.memaripour@mongodb.com</customfieldvalue>
            <customfieldvalue>george.wangensteen@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2cg8n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1uobs:</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_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|i2c2dz:</customfieldvalue>

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