<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:42:40 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-57743] setFCV 4.4 can take at least orphanCleanupDelaySecs if it starts while there is an in-progress migration for config.system.sessions</title>
                <link>https://jira.mongodb.org/browse/SERVER-57743</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45047&quot; title=&quot;Create multiVersion test to validate mixed FCV migrations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45047&quot;&gt;&lt;del&gt;SERVER-45047&lt;/del&gt;&lt;/a&gt; made the setFCV command block chunk migrations by&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/b5c352d4ae62d8078ac4f59422f87bd8633180de/src/mongo/db/s/active_migrations_registry.cpp#L64-L77&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;locking the ActiveMigrationsRegistry&lt;/a&gt;. This forces the setFCV command to wait for any ongoing migrations to complete.&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45624&quot; title=&quot;Pre-split and distribute chunks of sessions collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45624&quot;&gt;&lt;del&gt;SERVER-45624&lt;/del&gt;&lt;/a&gt;&#160;made the balancer automatically split the config.system.sessions collection so when the setFCV command is run after the balancer is re-enabled, there is the chance that the setFCV command is blocked behind a migration for the sessions collection.&#160;Since the range deleter&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/540caebed8d24ef156f0222169e8328dcc9d5782/src/mongo/db/s/range_deletion_util.cpp#L435-L436&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;waits for&#160;orphanCleanupDelaySecs&lt;/a&gt;&#160;before&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/540caebed8d24ef156f0222169e8328dcc9d5782/src/mongo/db/s/range_deletion_util.cpp#L317-L325&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;checking if the collection exists&lt;/a&gt;&#160;and doing the deletion, the range deleter is forced to wait&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/9fa32db73d2ccd331b7e0b871b3a4262ca9e9be0/src/mongo/db/s/sharding_runtime_d_params.idl#L87-L92&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;orphanCleanupDelaySecs&lt;/a&gt;&#160;(defaults to 15 minutes) before failing with&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/db5ca00459eb05bea982cbf858d2cbdfb1ef221b/src/mongo/db/s/collection_sharding_runtime.cpp#L280-L284&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;RangeDeletionAbandonedBecauseCollectionWithUUIDDoesNotExist which is then ignored&lt;/a&gt;. To solve this, we should check if the collection exists before submitting a range deletion task&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/2afc2445f5b1c74dd62799b3e8ffe8179934c40a/src/mongo/db/s/metadata_manager.cpp#L320-L333&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;&#160;when we call _&lt;a href=&quot;https://github.com/mongodb/mongo/blob/f1f7715b9bb239cc3d4f12aaf9ed895adfe45802/src/mongo/db/s/migration_destination_manager.cpp#L995&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;notePending()&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1786305">SERVER-57743</key>
            <summary>setFCV 4.4 can take at least orphanCleanupDelaySecs if it starts while there is an in-progress migration for config.system.sessions</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="9">Done</resolution>
                                        <assignee username="jonathan.lee@mongodb.com">Jonathan Lee</assignee>
                                    <reporter username="cheahuychou.mao@mongodb.com">Cheahuychou Mao</reporter>
                        <labels>
                            <label>sharding-wfbf-day</label>
                    </labels>
                <created>Wed, 16 Jun 2021 15:15:41 +0000</created>
                <updated>Fri, 24 Sep 2021 19:58:10 +0000</updated>
                            <resolved>Fri, 24 Sep 2021 19:57:52 +0000</resolved>
                                                    <fixVersion>4.4.10</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4084093" author="xgen-internal-githook" created="Fri, 24 Sep 2021 19:53:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jonathan Lee&apos;, &apos;email&apos;: &apos;jonathan.lee@mongodb.com&apos;, &apos;username&apos;: &apos;jonatlee&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-57743&quot; title=&quot;setFCV 4.4 can take at least orphanCleanupDelaySecs if it starts while there is an in-progress migration for config.system.sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-57743&quot;&gt;&lt;del&gt;SERVER-57743&lt;/del&gt;&lt;/a&gt; Prevent range deletion task from being executed if sessions collection is empty&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7899940b1aa69d3e674d865a1e15d7da293bc087&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7899940b1aa69d3e674d865a1e15d7da293bc087&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1061442">SERVER-45249</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 15 Sep 2021 21:14:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 19 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_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>jonathan.lee@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 19 weeks, 5 days ago
                        </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>cheahuychou.mao@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jonathan.lee@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzmq67:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hz791b:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5221">Sharding 2021-09-20</customfieldvalue>
    <customfieldvalue id="5222">Sharding 2021-10-04</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|hzmcfb:</customfieldvalue>

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