<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:55:46 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-40713] Enable fsm workloads that use moveChunk in sharded stepdown suites</title>
                <link>https://jira.mongodb.org/browse/SERVER-40713</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There are a few concurrency workloads that explicitly use moveChunk, which are currently disallowed in the concurrency stepdown suites because&#160;moveChunk is considered a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/525a71af705a7c1b558f3035a748d3811eecbe5a/jstests/libs/override_methods/network_error_and_txn_override.js#L113&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;non-retryable command by the network error retry override&lt;/a&gt;. Conceptually, moving a chunk &lt;b&gt;is&lt;/b&gt; retryable, but it&apos;s likely it was disallowed because it can return non-retryable by default error codes if interrupted (e.g. &lt;a href=&quot;https://github.com/mongodb/mongo/blob/525a71af705a7c1b558f3035a748d3811eecbe5a/src/mongo/db/s/migration_source_manager.cpp#L351&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;OperationFailed if persisting critical section signal fails&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;To get more coverage of stepdowns concurrent with moveChunks, it should be possible to add special logic to the network override to handle the particular errors returned by moveChunk instead, similar to the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/525a71af705a7c1b558f3035a748d3811eecbe5a/jstests/libs/override_methods/network_error_and_txn_override.js#L785-L795&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;workarounds for other operations that return inconsistent codes&lt;/a&gt;. This would be especially valuable for the workloads that move chunks while running transactions, like &lt;tt&gt;random_moveChunk_broadcast_update_transaction.js&lt;/tt&gt;,&#160;&lt;tt&gt;random_moveChunk_broadcast_update_transaction.js&lt;/tt&gt;, and &lt;tt&gt;agg_with_chunk_migrations.js&lt;/tt&gt; when running in the &lt;tt&gt;concurrency_sharded_multi_stmt_txn_with_stepdowns&lt;/tt&gt; suite.&lt;/p&gt;</description>
                <environment></environment>
        <key id="741180">SERVER-40713</key>
            <summary>Enable fsm workloads that use moveChunk in sharded stepdown suites</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="3">Duplicate</resolution>
                                        <assignee username="backlog-server-sharding">[DO NOT USE] Backlog - Sharding Team</assignee>
                                    <reporter username="jack.mulrow@mongodb.com">Jack Mulrow</reporter>
                        <labels>
                            <label>max-triage</label>
                            <label>pm-564</label>
                    </labels>
                <created>Thu, 18 Apr 2019 16:50:14 +0000</created>
                <updated>Tue, 6 Dec 2022 03:01:20 +0000</updated>
                            <resolved>Fri, 12 Nov 2021 13:16:24 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4185351" author="max.hirschhorn@10gen.com" created="Fri, 12 Nov 2021 13:16:24 +0000"  >&lt;p&gt;The moveChunk FSM workloads were enabled in the stepdown suites as part of &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;.&lt;/p&gt;</comment>
                            <comment id="2407621" author="blake.oler" created="Wed, 4 Sep 2019 18:22:09 +0000"  >&lt;p&gt;Deprioritizing this ticket, as Alex&apos;s ticket to implement a random balancer policy was pushed and will satisfy this constraint for the time-being.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-42914&quot; title=&quot;Implement random chunk selection policy for balancer for use in concurrency_*_with_balancer workloads&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-42914&quot;&gt;&lt;del&gt;SERVER-42914&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2218969" author="jack.mulrow" created="Fri, 19 Apr 2019 13:52:34 +0000"  >&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;, yeah the failures are because of interruptions from stepdowns, not transactions. They typically manifest as responses with &lt;tt&gt;OperationFailed&lt;/tt&gt;&#160;and an error message with some retryable error buried inside like &lt;tt&gt;InterruptedDueToStepdown&lt;/tt&gt;. I put this in the sharded transactions epic because while working on the transaction stepdown suites I realized we can do this to have better concurrency coverage of transactions with stepdowns and migrations, but this isn&apos;t a new problem.&lt;/p&gt;</comment>
                            <comment id="2218073" author="kaloian.manassiev" created="Thu, 18 Apr 2019 16:55:14 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jack.mulrow&quot; class=&quot;user-hover&quot; rel=&quot;jack.mulrow&quot;&gt;jack.mulrow&lt;/a&gt;, the reason for the &lt;tt&gt;moveChunk&lt;/tt&gt; failures in these tests is not tied exclusively to transactions, right? It can fail for numerous other reasons even if there are no transactions, correct?&lt;/p&gt;

&lt;p&gt;How do these &lt;tt&gt;moveChunk&lt;/tt&gt; failures manifest themselves in the test?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="854459">SERVER-42192</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="901102">SERVER-42914</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25141"><![CDATA[Sharding]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 18 Apr 2019 16:55:14 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 12 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding</customfieldvalue>
            <customfieldvalue>blake.oler@mongodb.com</customfieldvalue>
            <customfieldvalue>jack.mulrow@mongodb.com</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@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|huuy8n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hukdyf:</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="3002">Sharding 2019-06-17</customfieldvalue>
    <customfieldvalue id="3061">Sharding 2019-07-15</customfieldvalue>
    <customfieldvalue id="3197">Sharding 2019-08-26</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|huukhz:</customfieldvalue>

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