<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:29:54 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-53094] Tests which use {waitForDelete:true} on moveChunk are not safe to run in the sharding_csrs_continuous_config_stepdown suite</title>
                <link>https://jira.mongodb.org/browse/SERVER-53094</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;As an example, all of the &lt;tt&gt;update_shard_key_*.js&lt;/tt&gt; suites perform some kind of moveChunk with &lt;tt&gt;waitForDelete:true&lt;/tt&gt; and rely on there not being any orphans for their testing expectations. However &lt;tt&gt;waitForDelete:true&lt;/tt&gt; doesn&apos;t work well with stepdowns of the Config Server, because there are numerous places where we can&apos;t obey (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/c864ea88f43ae1b8cb017a8ce6acb9b3ee1c54ec/src/mongo/db/s/balancer/migration_manager.cpp#L212&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt; one for example).&lt;/p&gt;

&lt;p&gt;Because of this, it is not safe to run tests with &lt;tt&gt;waitForDelete:true&lt;/tt&gt; in the sharding_csrs_continuous_config_stepdown suite and they should be blacklisted.&lt;/p&gt;

&lt;p&gt;In more detail, this is the least that can happen:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Some test relies on range deletion to be successful in order to not have orphans on the cluster&lt;/li&gt;
	&lt;li&gt;A &lt;tt&gt;moveChunk&lt;/tt&gt; command succeeds to commit on the Config Server, BUT returns an error to the Balancer, because the Config Server was down and it couldn&apos;t re-check its work (this is okay). However, this means it didn&apos;t wait for a range deletion.&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/c864ea88f43ae1b8cb017a8ce6acb9b3ee1c54ec/src/mongo/db/s/balancer/migration_manager.cpp#L212&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;This&lt;/a&gt; code noticed that the chunk actually committed, so didn&apos;t pass the error to the Router/Client&lt;/li&gt;
	&lt;li&gt;The test happily continues, even though there are orphans on the donor shard&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1553633">SERVER-53094</key>
            <summary>Tests which use {waitForDelete:true} on moveChunk are not safe to run in the sharding_csrs_continuous_config_stepdown suite</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13203">Gone away</resolution>
                                        <assignee username="allison.easton@mongodb.com">Allison Easton</assignee>
                                    <reporter username="kaloian.manassiev@mongodb.com">Kaloian Manassiev</reporter>
                        <labels>
                            <label>oldshardingemea</label>
                            <label>sharding-csrs-stepdown-upkeep</label>
                            <label>shardingemea-qw</label>
                    </labels>
                <created>Fri, 27 Nov 2020 12:28:08 +0000</created>
                <updated>Fri, 5 Jan 2024 18:20:09 +0000</updated>
                            <resolved>Fri, 5 Jan 2024 18:20:09 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="4774875" author="lamont.nelson" created="Wed, 24 Aug 2022 19:39:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kaloian.manassiev%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;kaloian.manassiev@mongodb.com&quot;&gt;kaloian.manassiev@mongodb.com&lt;/a&gt; This was routed from the team triage meeting due to having &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59891&quot; title=&quot;Replace the coverage from sharding_continuous_config_stepdown.yml and then delete the test suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59891&quot;&gt;SERVER-59891&lt;/a&gt; on the emea backlog. I was just the messenger in this case &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;I agree regarding tech debt.&lt;/p&gt;</comment>
                            <comment id="4051225" author="max.hirschhorn@10gen.com" created="Sat, 11 Sep 2021 09:43:50 +0000"  >&lt;p&gt;Hoping to not do this ticket and to do &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59891&quot; title=&quot;Replace the coverage from sharding_continuous_config_stepdown.yml and then delete the test suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59891&quot;&gt;SERVER-59891&lt;/a&gt; instead.&lt;/p&gt;</comment>
                            <comment id="3884395" author="max.hirschhorn@10gen.com" created="Thu, 17 Jun 2021 11:22:03 +0000"  >&lt;blockquote&gt;
&lt;p&gt;However &lt;tt&gt;waitForDelete:true&lt;/tt&gt; doesn&apos;t work well with stepdowns of the Config Server, because there are numerous places where we can&apos;t obey (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/c864ea88f43ae1b8cb017a8ce6acb9b3ee1c54ec/src/mongo/db/s/balancer/migration_manager.cpp#L212&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt; one for example).&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kaloian.manassiev&quot; class=&quot;user-hover&quot; rel=&quot;kaloian.manassiev&quot;&gt;kaloian.manassiev&lt;/a&gt;, while working on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-42192&quot; title=&quot;Write a concurrency workload to test that orphaned ranges are always deleted and nothing that shouldn&#8217;t be deleted gets deleted&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-42192&quot;&gt;&lt;del&gt;SERVER-42192&lt;/del&gt;&lt;/a&gt; during the resumable range deleter project, I had also faced how &lt;tt&gt;waitForDelete:true&lt;/tt&gt; isn&apos;t upheld when the chunk has successfully migrated but the wait for cleanup got interrupted and had filed &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46669&quot; title=&quot;moveChunk may succeed but not respect waitForDelete=true if replica set shard primary steps down&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46669&quot;&gt;&lt;del&gt;SERVER-46669&lt;/del&gt;&lt;/a&gt; about it. The code you linked to rewrites the error so the client doesn&apos;t even know that the cleanup was interrupted.&lt;/p&gt;

&lt;p&gt;Is there a reason you&apos;d prefer to disable / change the jstests/sharding/ tests that use &lt;tt&gt;waitForDelete:true&lt;/tt&gt; rather than addressing the error and retry behavior of the moveChunk command? Was it to make the build greener while we sit on making a more involved change to address the server behavior?&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="1235535">SERVER-46669</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1872088">SERVER-59891</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26387"><![CDATA[Catalog and Routing]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_23577" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>CAR Impact</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25718"><![CDATA[5 BF w/evergreen redness]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Jun 2021 11:22:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 24 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>allison.easton@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 24 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.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>allison.easton@mongodb.com</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>lamont.nelson@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyjc73:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hy5ar3:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4521">Sharding 2021-07-12</customfieldvalue>
    <customfieldvalue id="5222">Sharding 2021-10-04</customfieldvalue>
    <customfieldvalue id="5223">Sharding 2021-10-18</customfieldvalue>
    <customfieldvalue id="5224">Sharding 2021-11-01</customfieldvalue>
    <customfieldvalue id="7891">CAR Team 2023-12-25</customfieldvalue>
    <customfieldvalue id="7892">CAR Team 2024-01-08</customfieldvalue>

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

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