<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:52:44 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-19971] Multiversion shards should work with v3 2dSphere indexes; v3 text indexes</title>
                <link>https://jira.mongodb.org/browse/SERVER-19971</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;If you have a mongod 3.0 shard (which has 2dsphere index version 2 as default) and a mongod 3.1.6+ shard (which has 2dsphere index version 3 as default), they will have different 2dsphere index versions if you build an index. This should work without issue since version 3 does not change any semantics. However, when a chunk moves from a mongod 3.1.6 shard to a mongod 3.0 shard, it triggers the uassert here: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/v3.0/src/mongo/db/index/s2_access_method.cpp#L97-L101&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/v3.0/src/mongo/db/index/s2_access_method.cpp#L97-L101&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I believe this occurs when attempting to check if the indexes are equivalent on the receiver shard.&lt;/p&gt;</description>
                <environment></environment>
        <key id="225806">SERVER-19971</key>
            <summary>Multiversion shards should work with v3 2dSphere indexes; v3 text indexes</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="milkie@mongodb.com">Eric Milkie</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Aug 2015 20:53:05 +0000</created>
                <updated>Wed, 23 Sep 2015 19:05:41 +0000</updated>
                            <resolved>Wed, 23 Sep 2015 19:05:41 +0000</resolved>
                                                                    <component>Geo</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="1041195" author="milkie" created="Wed, 23 Sep 2015 19:05:41 +0000"  >&lt;p&gt;We&apos;re not going to do anything further for this; it will be up to the user not to run the balancer on a mixed-version sharded cluster.  If they still run the balancer, nodes will shut down (instead of leaving the data in a bad state or downconverting indexes silently).&lt;/p&gt;</comment>
                            <comment id="1027840" author="mark.benvenuto" created="Fri, 11 Sep 2015 19:42:31 +0000"  >&lt;p&gt;It is not possible to differentiate the two situations though. &lt;tt&gt;S2AccessMethod::fixSpec&lt;/tt&gt; will inject the &lt;tt&gt;2dsphereIndexVersion&lt;/tt&gt; field into the index spec, and once it is there, we cannot tell if the user specified it, or if the system implicitly added it.&lt;/p&gt;</comment>
                            <comment id="1027814" author="siyuan.zhou@10gen.com" created="Fri, 11 Sep 2015 19:22:06 +0000"  >&lt;p&gt;If the { version: 3 } is given explicitly, I doubt the user would expect a silent downgrade to v2. Currently creating 2dsphere index of version 3 on mongodb 3.0 will give an error as expected.&lt;/p&gt;

&lt;p&gt;This problem described above happens in sharding, since 3.2 mongod will modify the index spec by adding { 2dsphereIndexVersion: 3 } if the filed is absent. The 3.0 receiver shard saw that modified index spec and rejects it.&lt;/p&gt;</comment>
                            <comment id="1027760" author="mark.benvenuto" created="Fri, 11 Sep 2015 18:49:43 +0000"  >&lt;p&gt;After discussion, the problem is what are the semantics of&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;createIndex( .. , { verison : 3} )&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;on a version of the product that does not support version 3 indexes, i.e, MongoDB 3.0.&lt;/p&gt;

&lt;p&gt;Here is the proposal based on the original description and title:&lt;/p&gt;

&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Type&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Solution&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Rationale&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2dsphere&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Silently downgrade to v2&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2dsphere v3 is only a performance change, not semantics change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;text&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Error&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;text v3 has semantics changes (i,e, unicode vs ascii only)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;


&lt;p&gt;I have implemented the &lt;b&gt;2dsphere&lt;/b&gt; changes, but it still feels weird because we are silently changing the index version on the user. I rather it would fail personally then silently change the semantics on the user.&lt;/p&gt;</comment>
                            <comment id="1016207" author="milkie" created="Thu, 27 Aug 2015 18:11:28 +0000"  >&lt;p&gt;Step 1 disables the balancer but it was never explicitly stated that moving chunks wasn&apos;t supported in a mixed-version sharded cluster.  The work for this ticket isn&apos;t that much for the amount of benefit so I think we should move ahead.&lt;/p&gt;</comment>
                            <comment id="1016191" author="rassi@10gen.com" created="Thu, 27 Aug 2015 17:44:50 +0000"  >&lt;p&gt;See related ticket &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13875&quot; title=&quot;ensureIndex of 2dsphere index breaks after upgrading to 2.6 (with the new createIndex command)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13875&quot;&gt;&lt;del&gt;SERVER-13875&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I was under the impression that we didn&apos;t support migrations during the upgrade process; our &lt;a href=&quot;https://docs.mongodb.org/master/release-notes/3.0-upgrade/#upgrade-sharded-clusters/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;3.0 upgrade documentation&lt;/a&gt; lists &quot;disable the balancer&quot; as step #1.  Are we sure we have any work to do here?&lt;/p&gt;</comment>
                            <comment id="1013830" author="milkie" created="Tue, 25 Aug 2015 14:03:23 +0000"  >&lt;p&gt;Need to mention this in release notes for 3.2 upgrade.&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>7.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 25 Aug 2015 14:03:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 21 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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>milkie@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 21 weeks 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>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
            <customfieldvalue>kevin.albertson@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
            <customfieldvalue>siyuan.zhou@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkxbb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hre8dz:</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="673">Platform 9 (09/18/15)</customfieldvalue>
    <customfieldvalue id="689">RPL A (10/09/15)</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|hsfqtj:</customfieldvalue>

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