<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:39:43 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-56606] Only indicate cancelation to resharding metrics on participant shards if the userCanceled field is set to true</title>
                <link>https://jira.mongodb.org/browse/SERVER-56606</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Do the following on the recipient first &amp;#8211; unsure at this time if the donor is ready for this.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Make userCanceled a class member of participants of type boost::optional&amp;lt;bool&amp;gt;.&lt;/li&gt;
	&lt;li&gt;This class member will be populated from two different sources, either the onReshardingFieldsChanges() or abort() directly from the shard&apos;s abortReshardCollection command. Both of these sources go through the abort() command eventually, so you can populate the class member there.&lt;/li&gt;
	&lt;li&gt;Refer to userCanceled &lt;a href=&quot;https://github.com/mongodb/mongo/blob/985f68302752d214abe127e66a2f22219502e585/src/mongo/db/s/resharding/resharding_recipient_service.cpp#L904-L909&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;, where you will indicate kCanceled if &lt;tt&gt;aborted == true &amp;amp;&amp;amp; userCanceled == true&lt;/tt&gt;, kFailure if &lt;tt&gt;aborted == true &amp;amp;&amp;amp; userCanceled == false&lt;/tt&gt;, and kSuccess otherwise.&lt;/li&gt;
	&lt;li&gt;Try removing &lt;a href=&quot;https://github.com/mongodb/mongo/blob/985f68302752d214abe127e66a2f22219502e585/src/mongo/db/s/resharding/resharding_recipient_service.cpp#L385-L391&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this call&lt;/a&gt; to onCompletion. If tests fail, keep it for now.&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="1700499">SERVER-56606</key>
            <summary>Only indicate cancelation to resharding metrics on participant shards if the userCanceled field is set to true</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="13201">Fixed</resolution>
                                        <assignee username="luis.osta@mongodb.com">Luis Osta</assignee>
                                    <reporter username="blake.oler@mongodb.com">Blake Oler</reporter>
                        <labels>
                            <label>PM-234-M3</label>
                            <label>PM-234-T-autocommits</label>
                            <label>sharding-wfbf-day</label>
                    </labels>
                <created>Tue, 4 May 2021 14:40:05 +0000</created>
                <updated>Sun, 29 Oct 2023 21:54:06 +0000</updated>
                            <resolved>Tue, 15 Jun 2021 14:14:24 +0000</resolved>
                                                    <fixVersion>5.0.0-rc2</fixVersion>
                    <fixVersion>5.1.0-rc0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4108018" author="JIRAUSER1259052" created="Wed, 6 Oct 2021 18:54:30 +0000"  >&lt;p&gt;Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it&#8217;s been triggered. For more active release information, please keep an eye on #server-release. Thank you!&lt;/p&gt;</comment>
                            <comment id="3881073" author="xgen-internal-githook" created="Wed, 16 Jun 2021 13:49:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Luis Osta&apos;, &apos;email&apos;: &apos;luis.osta@mongodb.com&apos;, &apos;username&apos;: &apos;LuisOsta&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56606&quot; title=&quot;Only indicate cancelation to resharding metrics on participant shards if the userCanceled field is set to true&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56606&quot;&gt;&lt;del&gt;SERVER-56606&lt;/del&gt;&lt;/a&gt;: Only indicate cancelation to resharding metrics on participant shards if the userCanceled field is set to true&lt;/p&gt;

&lt;p&gt;(cherry picked from commit c43bbbfc6f21d47327a963d4cadb78e05188c875)&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1cf82af0ddf134ae2b85f8d5a0c8e5430fb8b863&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1cf82af0ddf134ae2b85f8d5a0c8e5430fb8b863&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3880400" author="xgen-internal-githook" created="Wed, 16 Jun 2021 08:29:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Luis Osta&apos;, &apos;email&apos;: &apos;luis.osta@mongodb.com&apos;, &apos;username&apos;: &apos;LuisOsta&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56606&quot; title=&quot;Only indicate cancelation to resharding metrics on participant shards if the userCanceled field is set to true&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56606&quot;&gt;&lt;del&gt;SERVER-56606&lt;/del&gt;&lt;/a&gt; Only indicate cancelation to resharding metrics on participant shards if the userCanceled field is set to true&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34632&quot; title=&quot;config.chunks change to config.cache.chunks creates a collection long name after upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34632&quot;&gt;SERVER-34632&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c43bbbfc6f21d47327a963d4cadb78e05188c875&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c43bbbfc6f21d47327a963d4cadb78e05188c875&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3878389" author="xgen-internal-githook" created="Tue, 15 Jun 2021 14:12:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Luis Osta&apos;, &apos;email&apos;: &apos;luis.osta@mongodb.com&apos;, &apos;username&apos;: &apos;LuisOsta&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56606&quot; title=&quot;Only indicate cancelation to resharding metrics on participant shards if the userCanceled field is set to true&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56606&quot;&gt;&lt;del&gt;SERVER-56606&lt;/del&gt;&lt;/a&gt; Only indicate cancelation to resharding metrics on participant shards if the userCanceled field is set to true&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c43bbbfc6f21d47327a963d4cadb78e05188c875&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c43bbbfc6f21d47327a963d4cadb78e05188c875&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3865986" author="JIRAUSER1253452" created="Tue, 8 Jun 2021 13:43:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn&quot;&gt;max.hirschhorn&lt;/a&gt; Sounds good that was addressed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-57260&quot; title=&quot;Plumb through userCanceled to the _shardsvrAbortReshardCollection command and participant machine abort functions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-57260&quot;&gt;&lt;del&gt;SERVER-57260&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3865974" author="JIRAUSER1253452" created="Tue, 8 Jun 2021 13:40:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=blake.oler&quot; class=&quot;user-hover&quot; rel=&quot;blake.oler&quot;&gt;blake.oler&lt;/a&gt;&#160;The call to onCompletion can&apos;t be removed as it triggers&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/5bea2fccdf860e9119712d39b7d2da788fe63708/src/mongo/db/s/resharding/resharding_metrics.cpp#L204&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt; invariant.&lt;/p&gt;

&lt;p&gt;So we&apos;ll go forward with the ticket keeping that intact.&lt;/p&gt;</comment>
                            <comment id="3817663" author="max.hirschhorn@10gen.com" created="Mon, 24 May 2021 13:20:48 +0000"  >&lt;p&gt;I&apos;d expect after the changes from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56638&quot; title=&quot;Fix flushReshardingStateChanges critical section race&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56638&quot;&gt;&lt;del&gt;SERVER-56638&lt;/del&gt;&lt;/a&gt; that the &lt;tt&gt;userCanceled&lt;/tt&gt; option must also be added to the &amp;#95;shardsvrAbortReshardCollection command as an argument and plumbed through DonorStateMachine::abort() and RecipientStateMachine::abort().&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1658356">SERVER-55511</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1699328">SERVER-56567</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                                                <inwardlinks description="has to be done after">
                                        <issuelink>
            <issuekey id="1759516">SERVER-57260</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="21777"><![CDATA[v5.0]]></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>Mon, 24 May 2021 13:20:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 18 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-55511'>SERVER-55511</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-56567'>SERVER-56567</a></s>]]></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-234</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>
                            2 years, 18 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>blake.oler@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>luis.osta@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>vivian.ge@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hz85yv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyt0en:</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="4517">Sharding 2021-05-17</customfieldvalue>
    <customfieldvalue id="4519">Sharding 2021-06-14</customfieldvalue>
    <customfieldvalue id="4520">Sharding 2021-06-28</customfieldvalue>
    <customfieldvalue id="4789">Sharding 2021-05-31</customfieldvalue>

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

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