<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:13: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-6902] MongoDB 2.2 and MongoDB 2.0 cannot be mixed in sharded cluster</title>
                <link>https://jira.mongodb.org/browse/SERVER-6902</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;As opposed to what is implied in the changelog we had failures after adding shards to one of our cluster. When the balancer attempted to move 2.0 hosted chunks to a new 2.2 shard with the following errors :&lt;/p&gt;

&lt;p&gt;&quot;moveChunk failed to engage TO-shard in the data transfer: migrate already in progress&quot;&lt;/p&gt;

&lt;p&gt;The situation does not recover after restarts and is only resolved by downgrading back to 2.0 which immediately resolves the issue. Please change your release changelog accordingly.&lt;/p&gt;</description>
                <environment></environment>
        <key id="48663">SERVER-6902</key>
            <summary>MongoDB 2.2 and MongoDB 2.0 cannot be mixed in sharded cluster</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="remonvv">Remon van Vliet</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Aug 2012 17:28:08 +0000</created>
                <updated>Mon, 11 Jul 2016 17:59:43 +0000</updated>
                            <resolved>Mon, 10 Sep 2012 15:26:08 +0000</resolved>
                                    <version>2.2.0</version>
                                    <fixVersion>2.2.1</fixVersion>
                    <fixVersion>2.3.0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="294090" author="spencer" created="Wed, 20 Mar 2013 17:41:37 +0000"  >&lt;p&gt;I just posted an answer on the google group thread, but yes, that should work.&lt;/p&gt;</comment>
                            <comment id="294067" author="abramovich@nimble.com" created="Wed, 20 Mar 2013 17:15:44 +0000"  >&lt;p&gt;What about such case?: &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://groups.google.com/group/mongodb-user/browse_thread/thread/d05da9476804a95&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/group/mongodb-user/browse_thread/thread/d05da9476804a95&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="163621" author="auto" created="Wed, 12 Sep 2012 19:49:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-05T15:26:06-07:00&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;}
&lt;p&gt;Message: Fix balancer when running mixed 2.2 and 2.0 shards. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6902&quot; title=&quot;MongoDB 2.2 and MongoDB 2.0 cannot be mixed in sharded cluster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6902&quot;&gt;&lt;del&gt;SERVER-6902&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;_recvChunkStart command on 2.2 expects a shardKeyPattern argument. 2.0 mongods&lt;br/&gt;
don&apos;t send that, which breaks migrations.  This fixes this by assuming the shard&lt;br/&gt;
key has the same pattern as the range specifiers in Helpers::removeRange when&lt;br/&gt;
the shardKeyPattern isn&apos;t explicitly provided.&lt;br/&gt;
Branch: v2.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6f5e9ad8d3ef5d7053b80748b96a3ca36cdae88e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6f5e9ad8d3ef5d7053b80748b96a3ca36cdae88e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="161701" author="auto" created="Fri, 7 Sep 2012 18:08:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-05T15:26:06-07:00&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;}
&lt;p&gt;Message: Fix balancer when running mixed 2.2 and 2.0 shards. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6902&quot; title=&quot;MongoDB 2.2 and MongoDB 2.0 cannot be mixed in sharded cluster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6902&quot;&gt;&lt;del&gt;SERVER-6902&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;_recvChunkStart command on 2.2 expects a shardKeyPattern argument. 2.0 mongods&lt;br/&gt;
don&apos;t send that, which breaks migrations.  This fixes this by assuming the shard&lt;br/&gt;
key has the same pattern as the range specifiers in Helpers::removeRange when&lt;br/&gt;
the shardKeyPattern isn&apos;t explicitly provided.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8fbfada4f4c87f837f459dfdf9b2142615d41a61&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8fbfada4f4c87f837f459dfdf9b2142615d41a61&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="159212" author="remonvv" created="Fri, 31 Aug 2012 10:26:21 +0000"  >&lt;p&gt;Data is recoverable by downgrading mongos instances as well it turns out.&lt;/p&gt;</comment>
                            <comment id="159211" author="remonvv" created="Fri, 31 Aug 2012 10:23:27 +0000"  >&lt;p&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;shard0001&amp;quot;, &amp;quot;shard0002&amp;quot;, &amp;quot;shard0003&amp;quot;, &amp;quot;shard0004&amp;quot;&amp;#93;&lt;/span&gt;&lt;br/&gt;
Aborted due to exception: #&amp;lt;Mongo::OperationFailure: Database command &apos;removeshard&apos; failed: (ok: &apos;0.0&apos;; errmsg: &apos;Can&apos;t have more than one draining shard at a time&apos;).&amp;gt;&lt;/p&gt;

&lt;p&gt;This used to work in 2.0 and clearly doesn&apos;t with 2.2 mongos. It throws this error, still moves data but doesn&apos;t update the metadata so the data becomes inaccessible.&lt;/p&gt;</comment>
                            <comment id="159210" author="remonvv" created="Fri, 31 Aug 2012 10:22:19 +0000"  >&lt;p&gt;It seems like there are also problems with 2.0 shards (all of them) using 2.2 mongos processes. We just had issues with removeShard invokations losing the shard data! I&apos;m currently trying to recovering manually. If I find the issue I&apos;ll report back.&lt;/p&gt;</comment>
                            <comment id="158721" author="remonvv" created="Thu, 30 Aug 2012 20:41:26 +0000"  >&lt;p&gt;You&apos;re welcome. This should probably be converted to a bug.&lt;/p&gt;</comment>
                            <comment id="158666" author="auto" created="Thu, 30 Aug 2012 18:57:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-08-30T11:57:27-07:00&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6902&quot; title=&quot;MongoDB 2.2 and MongoDB 2.0 cannot be mixed in sharded cluster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6902&quot;&gt;&lt;del&gt;SERVER-6902&lt;/del&gt;&lt;/a&gt;: amending release notes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/67042ad9a226dcd16cfa226c21dc0eec97bbe5bc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/67042ad9a226dcd16cfa226c21dc0eec97bbe5bc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="158657" author="renctan" created="Thu, 30 Aug 2012 18:47:15 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Thanks for the bug report. We have successfully reproduced this issue. Based on our preliminary test, you need to upgrade the entire cluster (mongod shards, config servers and mongos) to be able to move chunks again. We are going to update our release notes accordingly as well as investigate the issue further.&lt;/p&gt;</comment>
                            <comment id="158617" author="remonvv" created="Thu, 30 Aug 2012 17:48:39 +0000"  >&lt;p&gt;1) 6x 2.0 shards, we added 2x 2.2 shards and it immediately started failing migrates. No repsets.&lt;br/&gt;
2) We have 16 mongos for this cluster&lt;br/&gt;
3) no&lt;/p&gt;</comment>
                            <comment id="158613" author="renctan" created="Thu, 30 Aug 2012 17:44:42 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have a couple of questions:&lt;/p&gt;

&lt;p&gt;1. What does the cluster topology look like? Are the 2.0 and 2.2 shards replica sets?&lt;br/&gt;
2. How many mongos do you have? And can you tell what is the version of the mongos with the active balancer?&lt;br/&gt;
3. Is this running on an authenticated environment (ie, --keyFile)?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="62922">SERVER-8279</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>12.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 30 Aug 2012 17:44:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 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_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>
                            10 years, 48 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
            <customfieldvalue>remonvv</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
            <customfieldvalue>abramovich@nimble.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnqb3:</customfieldvalue>

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

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

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