<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:01:04 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-22659] Implement commitChunkMigration command on the config server</title>
                <link>https://jira.mongodb.org/browse/SERVER-22659</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Introduce a commitChunkMigration command, only available on the config server, with the following arguments:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;migratedChunk (bson) - complete description of a chunk, which is being migrated.&lt;/li&gt;
	&lt;li&gt;controlChunk (bson, optional) - complete description of a chunk owned by the same shard as the migrated chunk, but which does not move. This value will be missing if the migrateChunk is the last chunk being moved off a given shard.&lt;/li&gt;
	&lt;li&gt;newShard (string) - name of a shard to which the migratedChunk is being moved.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This command internally, using a centralized version generation source will produce a new chunk version to be used for the migrated and control chunks, similarly to the logic that is currently used, and updates the config.chunks collection with the new versions, encompassing the writes performs as part of &#8216;applyOps&#8217; today.  Additionally it will return a bson response with the following contents:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;migratedChunkVersion - newly generated version for the migrated chunk&lt;/li&gt;
	&lt;li&gt;controlChunkVersion - newly generated version for the control chunk&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;One thing to be considered is whether this command should only be made available if the server is running in config server mode.&lt;/p&gt;</description>
                <environment></environment>
        <key id="265895">SERVER-22659</key>
            <summary>Implement commitChunkMigration command on the config server</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="9">Done</resolution>
                                        <assignee username="dianna.hohensee@mongodb.com">Dianna Hohensee</assignee>
                                    <reporter username="kaloian.manassiev@mongodb.com">Kaloian Manassiev</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Feb 2016 22:43:38 +0000</created>
                <updated>Tue, 5 Jul 2016 18:53:53 +0000</updated>
                            <resolved>Wed, 22 Jun 2016 20:58:55 +0000</resolved>
                                                    <fixVersion>3.3.9</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1303468" author="xgen-internal-githook" created="Wed, 22 Jun 2016 20:56:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;DiannaHohensee&apos;, u&apos;name&apos;: u&apos;Dianna Hohensee&apos;, u&apos;email&apos;: u&apos;dianna.hohensee@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22659&quot; title=&quot;Implement commitChunkMigration command on the config server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22659&quot;&gt;&lt;del&gt;SERVER-22659&lt;/del&gt;&lt;/a&gt; Adding CommitChunkMigration command on the config server.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e90b12837bf13891da5153173dff8a4f36d347cd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e90b12837bf13891da5153173dff8a4f36d347cd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1297099" author="dianna.hohensee" created="Thu, 16 Jun 2016 20:08:07 +0000"  >&lt;p&gt;Depends on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24443&quot; title=&quot;Add repl::ReadConcernArgs to Shard::exhaustiveFindOnConfig&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24443&quot;&gt;&lt;del&gt;SERVER-24443&lt;/del&gt;&lt;/a&gt; in order to specify the read concern for the recovery unit, rather than always defaulting to setting the read from majority committed snapshot. &lt;/p&gt;

&lt;p&gt;WiredTiger will return a WriteConflictException if read from majority snapshot is set on the recovery unit when you go to do a write. So doing reads with the default majority committed snapshot, and then trying to do writes won&apos;t work, which it what the CommitChunkMigration command must do.&lt;/p&gt;</comment>
                            <comment id="1289812" author="dianna.hohensee" created="Thu, 9 Jun 2016 20:50:44 +0000"  >&lt;p&gt;Code review: &lt;a href=&quot;https://mongodbcr.appspot.com/74000001/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodbcr.appspot.com/74000001/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1280971" author="xgen-internal-githook" created="Wed, 1 Jun 2016 13:45:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;DiannaHohensee&apos;, u&apos;name&apos;: u&apos;Dianna Hohensee&apos;, u&apos;email&apos;: u&apos;dianna.hohensee@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22659&quot; title=&quot;Implement commitChunkMigration command on the config server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22659&quot;&gt;&lt;del&gt;SERVER-22659&lt;/del&gt;&lt;/a&gt; Changing ShardingState::refreshMetadataNow to correctly handle updating from a nonzero shardVersion to a remote shardVersion of 0000|0.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b02759c687efcde72a0343532ae4c1b896d1db64&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b02759c687efcde72a0343532ae4c1b896d1db64&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1277596" author="xgen-internal-githook" created="Fri, 27 May 2016 14:43:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;DiannaHohensee&apos;, u&apos;name&apos;: u&apos;Dianna Hohensee&apos;, u&apos;email&apos;: u&apos;dianna.hohensee@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22659&quot; title=&quot;Implement commitChunkMigration command on the config server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22659&quot;&gt;&lt;del&gt;SERVER-22659&lt;/del&gt;&lt;/a&gt; No need to redundantly set the metadata after refreshMetadataNow is called.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8681cd17ba80e6a360ed1104de066636d22d5cc4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8681cd17ba80e6a360ed1104de066636d22d5cc4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1272279" author="xgen-internal-githook" created="Mon, 23 May 2016 18:06:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;DiannaHohensee&apos;, u&apos;name&apos;: u&apos;Dianna Hohensee&apos;, u&apos;email&apos;: u&apos;dianna.hohensee@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22659&quot; title=&quot;Implement commitChunkMigration command on the config server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22659&quot;&gt;&lt;del&gt;SERVER-22659&lt;/del&gt;&lt;/a&gt; when commit chunk command fails, refresh collection metadata on shard to double check.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e8b9e58753de0d44bc978baa3fef72dcf47d0d1b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e8b9e58753de0d44bc978baa3fef72dcf47d0d1b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1267854" author="xgen-internal-githook" created="Wed, 18 May 2016 17:33:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;DiannaHohensee&apos;, u&apos;name&apos;: u&apos;Dianna Hohensee&apos;, u&apos;email&apos;: u&apos;dianna.hohensee@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22659&quot; title=&quot;Implement commitChunkMigration command on the config server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22659&quot;&gt;&lt;del&gt;SERVER-22659&lt;/del&gt;&lt;/a&gt; removing _uncommittedMetadata local variable&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1dd7a1ee81dbd1888dfc00fd658677bd444c9932&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1dd7a1ee81dbd1888dfc00fd658677bd444c9932&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This commit incidentally fixes a bug in master that &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24031&quot; title=&quot;Prevent cleanupOrphan from deleting migrating chunk data before commit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24031&quot;&gt;&lt;del&gt;SERVER-24031&lt;/del&gt;&lt;/a&gt; will correct in the v3.2 and v3.0 branches.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="292198">SERVER-24443</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="279372">SERVER-23678</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="291745">SERVER-24413</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="291350">SERVER-24397</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="284114">SERVER-24031</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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>3.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>Fri, 29 Apr 2016 20:57:08 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 34 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-24443'>SERVER-24443</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-229</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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 34 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkghr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrczq7:</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="902">Sharding 14 (05/13/16)</customfieldvalue>
    <customfieldvalue id="1013">Sharding 15 (06/03/16)</customfieldvalue>
    <customfieldvalue id="1014">Sharding 16 (06/24/16)</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|hsf8an:</customfieldvalue>

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