<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:47:09 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-59400] Fix the regression introduced by SERVER-55581</title>
                <link>https://jira.mongodb.org/browse/SERVER-59400</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55581&quot; title=&quot;return connection back to the pool in getUnshardedCollInfo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55581&quot;&gt;&lt;del&gt;SERVER-55581&lt;/del&gt;&lt;/a&gt; made a change which returns a ScopedDbConnection created in getUnshardedCollInfo back to the connection pool when we are done with it. By returning this connection to the pool, we also implicitly reuse it the next time we try and establish a connection to the same host. In version 4.2, this causes a unit test to fail somewhat consistently (see BF-22220). After investigating this a short while, I believe that the issue is that the returned connection dies (for unknown reasons) and upon reuse, the logic we use to check the connection status returns a cached result, whereupon we try to reuse a broken connection and fail. In this ticket, investigate exactly what is going on, determine the best way to fix it, and do so.&lt;/p&gt;

&lt;p&gt;Note that the changes in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55581&quot; title=&quot;return connection back to the pool in getUnshardedCollInfo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55581&quot;&gt;&lt;del&gt;SERVER-55581&lt;/del&gt;&lt;/a&gt; were reverted in both the 4.0 and 4.2 branches (but not 4.4, 5.0, or master) so any changes introduced here should also reintroduce the single-line change of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55581&quot; title=&quot;return connection back to the pool in getUnshardedCollInfo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55581&quot;&gt;&lt;del&gt;SERVER-55581&lt;/del&gt;&lt;/a&gt; (or equivalent) to 4.2 and 4.0.&lt;/p&gt;

&lt;p&gt;This is a time-boxed 5-point tickets. Reassess with team after time-box to determine next steps.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1852612">SERVER-59400</key>
            <summary>Fix the regression introduced by SERVER-55581</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="13201">Fixed</resolution>
                                        <assignee username="amirsaman.memaripour@mongodb.com">Amirsaman Memaripour</assignee>
                                    <reporter username="tyler.seip@mongodb.com">Tyler Seip</reporter>
                        <labels>
                            <label>servicearch-q1-2022</label>
                    </labels>
                <created>Mon, 16 Aug 2021 21:33:29 +0000</created>
                <updated>Sun, 29 Oct 2023 21:49:28 +0000</updated>
                            <resolved>Thu, 12 May 2022 19:40:21 +0000</resolved>
                                                    <fixVersion>6.0.0-rc6</fixVersion>
                    <fixVersion>6.1.0-rc0</fixVersion>
                                                        <votes>1</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="4546145" author="xgen-internal-githook" created="Thu, 12 May 2022 19:38:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Amirsaman Memaripour&apos;, &apos;email&apos;: &apos;amirsaman.memaripour@mongodb.com&apos;, &apos;username&apos;: &apos;samanca&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59400&quot; title=&quot;Fix the regression introduced by SERVER-55581&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59400&quot;&gt;&lt;del&gt;SERVER-59400&lt;/del&gt;&lt;/a&gt; Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55581&quot; title=&quot;return connection back to the pool in getUnshardedCollInfo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55581&quot;&gt;&lt;del&gt;SERVER-55581&lt;/del&gt;&lt;/a&gt;: Return ScopedDbConnection to connection pool in cluster aggregation planner&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 663e90bbe862969572246b7b442845ed83a2472d.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 81fa710687e399d7aa2bd093987396c6f6a36956)&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e1d4cd0bffd26fbbd3d0c0f58eea0ff4b4982238&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e1d4cd0bffd26fbbd3d0c0f58eea0ff4b4982238&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4543452" author="xgen-internal-githook" created="Wed, 11 May 2022 22:07:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Amirsaman Memaripour&apos;, &apos;email&apos;: &apos;amirsaman.memaripour@mongodb.com&apos;, &apos;username&apos;: &apos;samanca&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59400&quot; title=&quot;Fix the regression introduced by SERVER-55581&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59400&quot;&gt;&lt;del&gt;SERVER-59400&lt;/del&gt;&lt;/a&gt; Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55581&quot; title=&quot;return connection back to the pool in getUnshardedCollInfo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55581&quot;&gt;&lt;del&gt;SERVER-55581&lt;/del&gt;&lt;/a&gt;: Return ScopedDbConnection to connection pool in cluster aggregation planner&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 663e90bbe862969572246b7b442845ed83a2472d.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/81fa710687e399d7aa2bd093987396c6f6a36956&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/81fa710687e399d7aa2bd093987396c6f6a36956&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4539272" author="amirsaman.memaripour" created="Tue, 10 May 2022 19:15:17 +0000"  >&lt;p&gt;In favor of deprecating and removing the legacy connection pools, ServiceArch decided to revert changes introduced by&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55581&quot; title=&quot;return connection back to the pool in getUnshardedCollInfo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55581&quot;&gt;&lt;del&gt;SERVER-55581&lt;/del&gt;&lt;/a&gt; on v4.4+ version (i.e., master, v6.0, v5.3, v5.0, and v4.4).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1661313">SERVER-55581</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="23140"><![CDATA[v5.3]]></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>Thu, 28 Apr 2022 15:53:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 38 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_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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2837</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 38 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>49.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>amirsaman.memaripour@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>tyler.seip@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxyfb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzi267:</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="6137">Service Arch 2022-05-16</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</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|hzxko7:</customfieldvalue>

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