<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:33:27 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-33455] Make the chunk move/split/merge methods update the chunk&apos;s history</title>
                <link>https://jira.mongodb.org/browse/SERVER-33455</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;As part of this change we should modify the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;_configsvrCommitChunkMigration&lt;/tt&gt;&lt;/a&gt;,&lt;br/&gt;
 &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/config/configsvr_split_chunk_command.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;_configsvrCommitChunkSplit&lt;/tt&gt;&lt;/a&gt;,&lt;br/&gt;
 &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/config/configsvr_merge_chunk_command.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;_configsvrCommitChunkMerge&lt;/tt&gt;&lt;/a&gt; commands to include a timestamp at which the migration is considered prepared (this should be the latest in-memory clusterTime on the donor shard, as obtained through &lt;a href=&quot;https://github.com/mongodb/mongo/blob/2a4328dca297c8c1f76dafcff958c75703881207/src/mongo/db/logical_clock.h#L70&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;LogicalClock::get(opCtx)-&amp;gt;getClusterTime()&lt;/tt&gt;&lt;/a&gt;). The config server commands should thread-through this timestamp down to the catalog manager &lt;a href=&quot;https://github.com/mongodb/mongo/blob/2a4328dca297c8c1f76dafcff958c75703881207/src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;chunk operations&lt;/a&gt;, which is what should maintain the history array and perform cleanups if necessary.&lt;/p&gt;</description>
                <environment></environment>
        <key id="501322">SERVER-33455</key>
            <summary>Make the chunk move/split/merge methods update the chunk&apos;s history</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="martin.neupauer@mongodb.com">Martin Neupauer</assignee>
                                    <reporter username="kaloian.manassiev@mongodb.com">Kaloian Manassiev</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Feb 2018 21:57:23 +0000</created>
                <updated>Sun, 29 Oct 2023 22:34:30 +0000</updated>
                            <resolved>Wed, 14 Mar 2018 18:36:41 +0000</resolved>
                                                    <fixVersion>3.7.3</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1833788" author="xgen-internal-githook" created="Wed, 14 Mar 2018 17:38:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;martin.neupauer@mongodb.com&apos;, &apos;name&apos;: &apos;Martin Neupauer&apos;, &apos;username&apos;: &apos;MartinNeupauer&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33455&quot; title=&quot;Make the chunk move/split/merge methods update the chunk&amp;#39;s history&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33455&quot;&gt;&lt;del&gt;SERVER-33455&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33452&quot; title=&quot;Add support for chunk owner shard history to ChunkType&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33452&quot;&gt;&lt;del&gt;SERVER-33452&lt;/del&gt;&lt;/a&gt; - Add history to the chunk type and update move/split/merge methods.&lt;/p&gt;

&lt;p&gt;	The Chunk type has an array of the past history that we maintain in the sharding manager.&lt;br/&gt;
When a chunk is moved we add a new entry to the history, the chunk split copies the history to new&lt;br/&gt;
chunks and finally the merge drops any previous history and creates only the latest entry.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7db37fa2823760ae2a9f061f5682c6bb3c2c3ad0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7db37fa2823760ae2a9f061f5682c6bb3c2c3ad0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1833485" author="xgen-internal-githook" created="Wed, 14 Mar 2018 14:57:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;martin.neupauer@mongodb.com&apos;, &apos;name&apos;: &apos;Martin Neupauer&apos;, &apos;username&apos;: &apos;MartinNeupauer&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33455&quot; title=&quot;Make the chunk move/split/merge methods update the chunk&amp;#39;s history&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33455&quot;&gt;&lt;del&gt;SERVER-33455&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33452&quot; title=&quot;Add support for chunk owner shard history to ChunkType&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33452&quot;&gt;&lt;del&gt;SERVER-33452&lt;/del&gt;&lt;/a&gt; - Add history to the chunk type and update move/split/merge methods.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 5b42a86b74380953db29455dc68e133166c81005.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ebbd763514514d3ed77c25477c61d71df0d91420&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ebbd763514514d3ed77c25477c61d71df0d91420&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1833429" author="xgen-internal-githook" created="Wed, 14 Mar 2018 14:28:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;martin.neupauer@mongodb.com&apos;, &apos;name&apos;: &apos;Martin Neupauer&apos;, &apos;username&apos;: &apos;MartinNeupauer&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33455&quot; title=&quot;Make the chunk move/split/merge methods update the chunk&amp;#39;s history&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33455&quot;&gt;&lt;del&gt;SERVER-33455&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33452&quot; title=&quot;Add support for chunk owner shard history to ChunkType&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33452&quot;&gt;&lt;del&gt;SERVER-33452&lt;/del&gt;&lt;/a&gt; - Add history to the chunk type and update move/split/merge methods.&lt;/p&gt;

&lt;p&gt;	The Chunk type has an array of the past history that we maintain in the sharding manager.&lt;br/&gt;
When a chunk is moved we add a new entry to the history, the chunk split copies the history to new&lt;br/&gt;
chunks and finally the merge drops any previous history and creates only the latest entry.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5b42a86b74380953db29455dc68e133166c81005&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5b42a86b74380953db29455dc68e133166c81005&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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>2.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, 9 Mar 2018 21:33:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 48 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1013</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>
                            5 years, 48 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>martin.neupauer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htqyzb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htidpr:</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="2166">Sharding 2018-03-12</customfieldvalue>
    <customfieldvalue id="2167">Sharding 2018-03-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|htql5b:</customfieldvalue>

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