<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:22:34 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-72703] Downgrade $out&apos;s db lock to MODE_IX</title>
                <link>https://jira.mongodb.org/browse/SERVER-72703</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It looks like as of 4.2 the renameCollection command supports doing a rename - even with &lt;tt&gt;dropTarget: true&lt;/tt&gt; - with only a MODE_IX lock, not MODE_X as is &lt;a href=&quot;https://github.com/mongodb/mongo/blob/7bfcace28c3af8b66e751303ea8f4472ed7ce39e/src/mongo/db/catalog/rename_collection.cpp#L1071&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;currently taken&lt;/a&gt;. At the very least, that lock acquisition could use a comment indicating why MODE_X is required.&lt;/p&gt;

&lt;p&gt;I think if we change the DB lock to MODE_X, we&apos;ll need to acquire both collection locks in MODE_X (and in the right order) to inspect and verify the index catalog and collection options, but that should be fine and is an improvement.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2229479">SERVER-72703</key>
            <summary>Downgrade $out&apos;s db lock to MODE_IX</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="damian.wasilewicz@mongodb.com">Damian Wasilewicz</assignee>
                                    <reporter username="charlie.swanson@mongodb.com">Charlie Swanson</reporter>
                        <labels>
                            <label>storex-ranked</label>
                    </labels>
                <created>Tue, 10 Jan 2023 21:07:34 +0000</created>
                <updated>Fri, 19 Jan 2024 22:30:44 +0000</updated>
                            <resolved>Mon, 18 Dec 2023 16:39:24 +0000</resolved>
                                                    <fixVersion>7.2.1</fixVersion>
                    <fixVersion>7.3.0-rc0</fixVersion>
                    <fixVersion>7.0.6</fixVersion>
                                                        <votes>0</votes>
                                    <watches>14</watches>
                                                                                                                <comments>
                            <comment id="6008776" author="xgen-internal-githook" created="Fri, 12 Jan 2024 22:38:52 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Damian Wasilewicz&apos;, &apos;email&apos;: &apos;33820523+DamianWasilewicz@users.noreply.github.com&apos;, &apos;username&apos;: &apos;DamianWasilewicz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72703&quot; title=&quot;Downgrade $out&amp;#39;s db lock to MODE_IX&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72703&quot;&gt;&lt;del&gt;SERVER-72703&lt;/del&gt;&lt;/a&gt; Downgrade out&apos;s db lock to IX (#18009)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72703&quot; title=&quot;Downgrade $out&amp;#39;s db lock to MODE_IX&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72703&quot;&gt;&lt;del&gt;SERVER-72703&lt;/del&gt;&lt;/a&gt; Downgrade out&apos;s db lock to IX&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d31885ce2c61a2acf2d19e8ab30c00f3c4308f0e)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 352ae2d9d70cdf474078ac8d6cf39ca2fb3c0f8b&lt;br/&gt;
Branch: v7.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fd57bf47efcc45ab7ad450bc3a8be0509ac3042d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fd57bf47efcc45ab7ad450bc3a8be0509ac3042d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5981613" author="xgen-internal-githook" created="Tue, 2 Jan 2024 22:46:48 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Damian Wasilewicz&apos;, &apos;email&apos;: &apos;damian.wasilewicz@mongodb.com&apos;, &apos;username&apos;: &apos;DamianWasilewicz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72703&quot; title=&quot;Downgrade $out&amp;#39;s db lock to MODE_IX&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72703&quot;&gt;&lt;del&gt;SERVER-72703&lt;/del&gt;&lt;/a&gt; Downgrade out&apos;s db lock to IX&lt;br/&gt;
Branch: v7.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d31885ce2c61a2acf2d19e8ab30c00f3c4308f0e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d31885ce2c61a2acf2d19e8ab30c00f3c4308f0e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5957804" author="xgen-internal-githook" created="Mon, 18 Dec 2023 16:41:51 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Damian Wasilewicz&apos;, &apos;email&apos;: &apos;damian.wasilewicz@mongodb.com&apos;, &apos;username&apos;: &apos;DamianWasilewicz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72703&quot; title=&quot;Downgrade $out&amp;#39;s db lock to MODE_IX&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72703&quot;&gt;&lt;del&gt;SERVER-72703&lt;/del&gt;&lt;/a&gt; Downgrade out&apos;s DB lock&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: add971aec3dc798a608985f39681dbf8af62ceb9&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bb6eea51253c2e1762f876eefec2b9c2b81452cf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bb6eea51253c2e1762f876eefec2b9c2b81452cf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5756031" author="steven.vannelli" created="Thu, 5 Oct 2023 15:45:53 +0000"  >&lt;p&gt;We need to make sure we only access the collection under a collection lock&lt;/p&gt;</comment>
                            <comment id="5755909" author="JIRAUSER1269484" created="Thu, 5 Oct 2023 15:20:18 +0000"  >&lt;p&gt;This change was reverted because it caused BF-30104 , where not using an exclusive lock led to heap-use-after-free/invalid access error. It appears that changing the mode from X to IX exposed a bug on the query side.&lt;/p&gt;</comment>
                            <comment id="5746738" author="xgen-internal-githook" created="Mon, 2 Oct 2023 20:33:32 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Damian Wasilewicz&apos;, &apos;email&apos;: &apos;damian.wasilewicz@mongodb.com&apos;, &apos;username&apos;: &apos;DamianWasilewicz&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72703&quot; title=&quot;Downgrade $out&amp;#39;s db lock to MODE_IX&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72703&quot;&gt;&lt;del&gt;SERVER-72703&lt;/del&gt;&lt;/a&gt; Downgrade $out&apos;s db lock to MODE_IX&quot;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2e66042fd5536004025fdf59e39eb69e0994779e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2e66042fd5536004025fdf59e39eb69e0994779e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5719570" author="JIRAUSER1269484" created="Wed, 20 Sep 2023 21:24:19 +0000"  >&lt;p&gt;Filed a follow up &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81286?filter=-2&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;ticket&lt;/a&gt; to investigate these cases!&lt;/p&gt;</comment>
                            <comment id="5719368" author="xgen-internal-githook" created="Wed, 20 Sep 2023 20:12:21 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Damian Wasilewicz&apos;, &apos;email&apos;: &apos;damian.wasilewicz@mongodb.com&apos;, &apos;username&apos;: &apos;DamianWasilewicz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72703&quot; title=&quot;Downgrade $out&amp;#39;s db lock to MODE_IX&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72703&quot;&gt;&lt;del&gt;SERVER-72703&lt;/del&gt;&lt;/a&gt; Downgrade $out&apos;s db lock to MODE_IX&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a8fecc65d3117d9f666c73de6c3c03c219608032&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a8fecc65d3117d9f666c73de6c3c03c219608032&lt;/a&gt;&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">
                                        <issuelink>
            <issuekey id="2237425">SERVER-73040</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2447502">SERVER-81286</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>9.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26007"><![CDATA[Storage Execution NAMER]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26553"><![CDATA[v7.2]]></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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001qknVPQAY]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 11 Jan 2023 16:55:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-3259</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>maria.prinus@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 weeks, 5 days 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>damian.wasilewicz@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>steven.vannelli@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1pzef:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2bx5s:</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="7177">Execution Team 2023-05-29</customfieldvalue>
    <customfieldvalue id="7178">Execution Team 2023-06-12</customfieldvalue>
    <customfieldvalue id="7179">Execution NAMR Team 2023-06-26</customfieldvalue>
    <customfieldvalue id="7180">Execution NAMR Team 2023-07-10</customfieldvalue>
    <customfieldvalue id="7181">Execution NAMR Team 2023-07-24</customfieldvalue>
    <customfieldvalue id="7182">Execution NAMR Team 2023-08-07</customfieldvalue>
    <customfieldvalue id="7561">Execution NAMR Team 2023-10-02</customfieldvalue>
    <customfieldvalue id="7566">Execution Team 2023-12-11</customfieldvalue>
    <customfieldvalue id="7797">Execution Team 2023-12-25</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|i1pljr:</customfieldvalue>

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