<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:52 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-2068] Check chunk boundaries of delete operations during chunk migration</title>
                <link>https://jira.mongodb.org/browse/SERVER-2068</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Deletion of a migrated chunk may be delayed if there are cursors open for that range. The following race condition may ensue:&lt;/p&gt;

&lt;p&gt;1) migrate chunk C1 from TO to FROM shards&lt;br/&gt;
2) FROM shard delays deletion of C1 because of open cursor X&lt;br/&gt;
3) start migrate chunk C2 from TO to FROM shards&lt;br/&gt;
4) open cursor X of 2) finishes&lt;br/&gt;
5) FROM shard&apos;s cleanOldData thread finally kicks in for C1&lt;br/&gt;
6) FROM shard sees the deletions on C1 as &apos;mods&apos;, while cloning C2&lt;br/&gt;
7) TO shard applies deletes thinking they belong to C2&lt;br/&gt;
8) C1 is gone (but data is recoverable using the moveChunk/ data directory)&lt;/p&gt;

&lt;p&gt;We&apos;ll fix both the FROM side, not to propagate the deletions on step 6, and the TO side, not to apply out of range deletions on step 7&lt;/p&gt;</description>
                <environment></environment>
        <key id="13640">SERVER-2068</key>
            <summary>Check chunk boundaries of delete operations during chunk migration</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="alerner">Alberto Lerner</assignee>
                                    <reporter username="alerner">Alberto Lerner</reporter>
                        <labels>
                    </labels>
                <created>Sun, 7 Nov 2010 21:29:56 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:54 +0000</updated>
                            <resolved>Mon, 8 Nov 2010 05:18:13 +0000</resolved>
                                                    <fixVersion>1.6.5</fixVersion>
                    <fixVersion>1.7.3</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="20119" author="auto" created="Mon, 8 Nov 2010 16:02:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2068&quot; title=&quot;Check chunk boundaries of delete operations during chunk migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2068&quot;&gt;&lt;del&gt;SERVER-2068&lt;/del&gt;&lt;/a&gt; make sure to use the same thread name&lt;br/&gt;
/mongodb/mongo/commit/6280a732012821396ee8432470884b2d38fb48c3&lt;/p&gt;</comment>
                            <comment id="20118" author="auto" created="Mon, 8 Nov 2010 16:02:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: test for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2068&quot; title=&quot;Check chunk boundaries of delete operations during chunk migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2068&quot;&gt;&lt;del&gt;SERVER-2068&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
/mongodb/mongo/commit/2dd7f54687dc034b39098728d49238c65f4e44fa&lt;/p&gt;</comment>
                            <comment id="20117" author="auto" created="Mon, 8 Nov 2010 16:02:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: when cleaning a chunk after migrating, don&apos;t store those deletes in the xfer list &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2068&quot; title=&quot;Check chunk boundaries of delete operations during chunk migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2068&quot;&gt;&lt;del&gt;SERVER-2068&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
/mongodb/mongo/commit/8956ac99d0f374b0653776c18c15ca84d497165d&lt;/p&gt;</comment>
                            <comment id="20115" author="auto" created="Mon, 8 Nov 2010 16:02:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2068&quot; title=&quot;Check chunk boundaries of delete operations during chunk migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2068&quot;&gt;&lt;del&gt;SERVER-2068&lt;/del&gt;&lt;/a&gt; check on the TO side of a chunk migration before applying deletions&lt;br/&gt;
/mongodb/mongo/commit/6f827308eb8f2dd59a0fc278bc968835f950a657&lt;/p&gt;</comment>
                            <comment id="20110" author="auto" created="Mon, 8 Nov 2010 14:43:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2068&quot; title=&quot;Check chunk boundaries of delete operations during chunk migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2068&quot;&gt;&lt;del&gt;SERVER-2068&lt;/del&gt;&lt;/a&gt; make sure to use the same thread name&lt;br/&gt;
/mongodb/mongo/commit/8d306011efc3813c85dff0a0f60141c56835eadd&lt;/p&gt;</comment>
                            <comment id="20103" author="auto" created="Mon, 8 Nov 2010 05:17:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: test for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2068&quot; title=&quot;Check chunk boundaries of delete operations during chunk migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2068&quot;&gt;&lt;del&gt;SERVER-2068&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
/mongodb/mongo/commit/3fcb3616f201f15eaeb63a5dfb73e767de445be1&lt;/p&gt;</comment>
                            <comment id="20102" author="auto" created="Mon, 8 Nov 2010 05:17:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: when cleaning a chunk after migrating, don&apos;t store those deletes in the xfer list &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2068&quot; title=&quot;Check chunk boundaries of delete operations during chunk migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2068&quot;&gt;&lt;del&gt;SERVER-2068&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
/mongodb/mongo/commit/b741da2a0ed581d27af8318a6337d2ace9654f44&lt;/p&gt;</comment>
                            <comment id="20100" author="alerner" created="Mon, 8 Nov 2010 04:01:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1068&quot; title=&quot;unique indexes not enforced within array of single document&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1068&quot;&gt;SERVER-1068&lt;/a&gt; test deletions regardless of command line args&lt;br/&gt;
/mongodb/mongo/commit/f95f7a44c3628b87e37a853bb2e7dd725845359f&lt;/p&gt;</comment>
                            <comment id="20095" author="auto" created="Sun, 7 Nov 2010 21:33:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2068&quot; title=&quot;Check chunk boundaries of delete operations during chunk migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2068&quot;&gt;&lt;del&gt;SERVER-2068&lt;/del&gt;&lt;/a&gt; check on the TO side of a chunk migration before applying deletions&lt;br/&gt;
/mongodb/mongo/commit/0ede22a20826a852a62040fc5f323278256dc2b0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="129051">SERVER-13462</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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 7 Nov 2010 21:33:17 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 15 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alerner</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpbov:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrigyv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21401</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_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|hszvgf:</customfieldvalue>

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