<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:39:22 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-78828] LDAP host timing data can be inconsistent during sorting</title>
                <link>https://jira.mongodb.org/browse/SERVER-78828</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When LDAP connection pooling is enabled, the server tracks the average latency for operations on each LDAP host and stores it in a struct called &lt;tt&gt;LDAPHostTimingData&lt;/tt&gt;. This structure is shared between all &lt;tt&gt;PooledLDAPConnections&lt;/tt&gt; that are connected to that particular host and a global &lt;tt&gt;LDAPPoolTimingData&lt;/tt&gt; struct that maintains an unordered map of shared_ptrs to this timing data.&lt;/p&gt;

&lt;p&gt;When these shared_ptrs are accessed via the &lt;tt&gt;LDAPPoolTimingData&lt;/tt&gt; map, they are synchronized via a mutex. They are only used in this context for reads. However, writes to each &lt;tt&gt;LDAPHostTimingData&lt;/tt&gt; occur from within the &lt;tt&gt;PooledLDAPConnections&lt;/tt&gt; themselves, which do not use that mutex to synchronize their writes with reads.&lt;/p&gt;

&lt;p&gt;As a result, it is possible for the comparator used in &lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/blob/master/src/ldap/connections/ldap_connection_factory.cpp#L833-L836&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this stable sort&lt;/a&gt; to become inconsistent as values are updated while the comparator is being called by the sorting algorithm. &lt;tt&gt;std::stable_sort&lt;/tt&gt; causes undefined behavior if the comparator does not return deterministic answers throughout the lifetime of the sort, and it&apos;s very possible that this is responsible for some crashes that have been seen during this sort in HELP tickets.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2387623">SERVER-78828</key>
            <summary>LDAP host timing data can be inconsistent during sorting</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="varun.ravichandran@mongodb.com">Varun Ravichandran</assignee>
                                    <reporter username="varun.ravichandran@mongodb.com">Varun Ravichandran</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Jul 2023 16:56:02 +0000</created>
                <updated>Sun, 29 Oct 2023 21:19:03 +0000</updated>
                            <resolved>Mon, 17 Jul 2023 14:20:45 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                    <fixVersion>7.0.0-rc8</fixVersion>
                    <fixVersion>4.4.24</fixVersion>
                    <fixVersion>5.0.20</fixVersion>
                    <fixVersion>6.0.9</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5613243" author="xgen-internal-githook" created="Fri, 4 Aug 2023 13:48:49 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Varun Ravichandran&apos;, &apos;email&apos;: &apos;varun.ravichandran@mongodb.com&apos;, &apos;username&apos;: &apos;varunravi98&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78828&quot; title=&quot;LDAP host timing data can be inconsistent during sorting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78828&quot;&gt;&lt;del&gt;SERVER-78828&lt;/del&gt;&lt;/a&gt;: Take snapshot of LDAP host timing data before sorting&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0b86b9b7b42ad9970c5f818c527dd86c0634243a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0b86b9b7b42ad9970c5f818c527dd86c0634243a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5612394" author="xgen-internal-githook" created="Fri, 4 Aug 2023 05:03:19 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Varun Ravichandran&apos;, &apos;email&apos;: &apos;varun.ravichandran@mongodb.com&apos;, &apos;username&apos;: &apos;varunravi98&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78828&quot; title=&quot;LDAP host timing data can be inconsistent during sorting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78828&quot;&gt;&lt;del&gt;SERVER-78828&lt;/del&gt;&lt;/a&gt;: Take snapshot of LDAP host timing data before sorting&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2cd626d8148120319d7dca5824e760fe220cb0de&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2cd626d8148120319d7dca5824e760fe220cb0de&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5611420" author="xgen-internal-githook" created="Thu, 3 Aug 2023 19:34:18 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Tausif Rahman&apos;, &apos;email&apos;: &apos;tausif.rahman@mongodb.com&apos;, &apos;username&apos;: &apos;trahman1318&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78828&quot; title=&quot;LDAP host timing data can be inconsistent during sorting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78828&quot;&gt;&lt;del&gt;SERVER-78828&lt;/del&gt;&lt;/a&gt;: Take snapshot of LDAP host timing data before sorting&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 07f47daf292c10a2d4d8a9fe00e98e4746aada7a.&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0908ac15cc460a8227fd7da5b6dc5886226bdd94&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0908ac15cc460a8227fd7da5b6dc5886226bdd94&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5611323" author="xgen-internal-githook" created="Thu, 3 Aug 2023 19:05:08 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Tausif Rahman&apos;, &apos;email&apos;: &apos;tausif.rahman@mongodb.com&apos;, &apos;username&apos;: &apos;trahman1318&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78828&quot; title=&quot;LDAP host timing data can be inconsistent during sorting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78828&quot;&gt;&lt;del&gt;SERVER-78828&lt;/del&gt;&lt;/a&gt;: Take snapshot of LDAP host timing data before sorting&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 1addd9c7be2438b6357254d2b50a69be113ccb60.&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7e3b7ea42e01a7d5b9ec350a753ce2d4ff0e9229&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7e3b7ea42e01a7d5b9ec350a753ce2d4ff0e9229&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5593289" author="xgen-internal-githook" created="Wed, 26 Jul 2023 17:29:45 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Varun Ravichandran&apos;, &apos;email&apos;: &apos;varun.ravichandran@mongodb.com&apos;, &apos;username&apos;: &apos;varunravi98&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78828&quot; title=&quot;LDAP host timing data can be inconsistent during sorting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78828&quot;&gt;&lt;del&gt;SERVER-78828&lt;/del&gt;&lt;/a&gt;: Take snapshot of LDAP host timing data before sorting&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/07f47daf292c10a2d4d8a9fe00e98e4746aada7a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/07f47daf292c10a2d4d8a9fe00e98e4746aada7a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5591377" author="xgen-internal-githook" created="Tue, 25 Jul 2023 22:42:12 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Varun Ravichandran&apos;, &apos;email&apos;: &apos;varun.ravichandran@mongodb.com&apos;, &apos;username&apos;: &apos;varunravi98&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78828&quot; title=&quot;LDAP host timing data can be inconsistent during sorting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78828&quot;&gt;&lt;del&gt;SERVER-78828&lt;/del&gt;&lt;/a&gt;: Take snapshot of LDAP host timing data before sorting&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1addd9c7be2438b6357254d2b50a69be113ccb60&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1addd9c7be2438b6357254d2b50a69be113ccb60&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.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="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>Fri, 14 Jul 2023 19:28:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        26 weeks, 5 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_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>
                            26 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>varun.ravichandran@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2h6zb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hx1ym2:9r</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="7326">Security 2023-07-24</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|i2gt4n:</customfieldvalue>

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