<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:04:24 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-23761] Prevent users from downgrading 3.4=&gt;3.2 if any collection has an index with a non-default collation</title>
                <link>https://jira.mongodb.org/browse/SERVER-23761</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;On all supported storage engines, 3.4.x versions will set a bit in the data files when either an index or a collection is created with a non-simple collation. On downgrade, this bit will cause 3.2 and older versions of the server to shut down with a MustUpgrade error. After creating indexes or collections with a non-simple collation on a 3.4.x version, the following steps must be taken in order to downgrade to 3.2:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Drop all indexes or collections with a non-simple collation.&lt;/li&gt;
	&lt;li&gt;Downgrade to 3.2.8 or a newer 3.2 patch release.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;3.2.8 contains a change which will cause the server to examine the catalog metadata if the collation feature bit is set. If no collation-related metadata associated with collections or indexes is found in the catalog, then the data files are clean for downgrade. In this case, the collation feature bit is cleared and startup will succeed.&lt;/p&gt;

&lt;p&gt;It is not possible to downgrade to a version older than 3.2.8 after creating indexes or collections with a non-simple collation.&lt;/p&gt;</description>
                <environment></environment>
        <key id="280123">SERVER-23761</key>
            <summary>Prevent users from downgrading 3.4=&gt;3.2 if any collection has an index with a non-default collation</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="david.storch@mongodb.com">David Storch</assignee>
                                    <reporter username="rassi">J Rassi</reporter>
                        <labels>
                            <label>code-and-test</label>
                    </labels>
                <created>Fri, 15 Apr 2016 19:01:25 +0000</created>
                <updated>Fri, 28 Dec 2018 18:05:23 +0000</updated>
                            <resolved>Thu, 16 Jun 2016 19:59:21 +0000</resolved>
                                                    <fixVersion>3.2.8</fixVersion>
                    <fixVersion>3.3.9</fixVersion>
                                    <component>Querying</component>
                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1297258" author="david.storch" created="Thu, 16 Jun 2016 21:49:25 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ramon.fernandez&quot; class=&quot;user-hover&quot; rel=&quot;ramon.fernandez&quot;&gt;ramon.fernandez&lt;/a&gt;, yes, this will definitely need careful documentation. I made a note about this in &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-7503&quot; title=&quot;Document the collation project (part 1)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-7503&quot;&gt;&lt;del&gt;DOCS-7503&lt;/del&gt;&lt;/a&gt;, the parent ticket for documenting the collation feature.&lt;/p&gt;</comment>
                            <comment id="1297237" author="ramon.fernandez" created="Thu, 16 Jun 2016 21:44:44 +0000"  >&lt;p&gt;Setting &quot;Documentation Changes&quot; to needed because the 3.2.8 requirement for downgrade needs to be part of our release notes on collation.&lt;/p&gt;

&lt;p&gt;Cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kay.kim&quot; class=&quot;user-hover&quot; rel=&quot;kay.kim&quot;&gt;kay.kim&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1297088" author="xgen-internal-githook" created="Thu, 16 Jun 2016 19:58:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;dstorch&apos;, u&apos;name&apos;: u&apos;David Storch&apos;, u&apos;email&apos;: u&apos;david.storch@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23761&quot; title=&quot;Prevent users from downgrading 3.4=&amp;gt;3.2 if any collection has an index with a non-default collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23761&quot;&gt;&lt;del&gt;SERVER-23761&lt;/del&gt;&lt;/a&gt; on MMAPv1, set data file version bit for collation&lt;/p&gt;

&lt;p&gt;The bit gets set when an index or collection with a collation is&lt;br/&gt;
created. This prevents downgrade for users who have indices or&lt;br/&gt;
collections with associated collations. Analogous to 8ca23764d4fd,&lt;br/&gt;
but for the MMAPv1 storage engine.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5f812b5da34f52835909f96d5061e4dce3c58d1f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5f812b5da34f52835909f96d5061e4dce3c58d1f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1296711" author="xgen-internal-githook" created="Thu, 16 Jun 2016 16:25:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;dstorch&apos;, u&apos;name&apos;: u&apos;David Storch&apos;, u&apos;email&apos;: u&apos;david.storch@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23761&quot; title=&quot;Prevent users from downgrading 3.4=&amp;gt;3.2 if any collection has an index with a non-default collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23761&quot;&gt;&lt;del&gt;SERVER-23761&lt;/del&gt;&lt;/a&gt; make MMAP engine clear collation feature bit when possible&lt;/p&gt;

&lt;p&gt;This is analogous to b968ee2da9, but for the MMAPv1 storage engine.&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6c50da2919703033ccb29f23389dcfd8ca62ad08&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6c50da2919703033ccb29f23389dcfd8ca62ad08&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1295061" author="xgen-internal-githook" created="Wed, 15 Jun 2016 14:05:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;dstorch&apos;, u&apos;name&apos;: u&apos;David Storch&apos;, u&apos;email&apos;: u&apos;david.storch@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23761&quot; title=&quot;Prevent users from downgrading 3.4=&amp;gt;3.2 if any collection has an index with a non-default collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23761&quot;&gt;&lt;del&gt;SERVER-23761&lt;/del&gt;&lt;/a&gt; set NR feature bit for collation&lt;/p&gt;

&lt;p&gt;This will ensure downgrade fails after creating collections or indices&lt;br/&gt;
with a non-simple collation.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8ca23764d4fd28c3bcf553d67c62b1f75be27814&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8ca23764d4fd28c3bcf553d67c62b1f75be27814&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1293566" author="xgen-internal-githook" created="Tue, 14 Jun 2016 14:15:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;dstorch&apos;, u&apos;name&apos;: u&apos;David Storch&apos;, u&apos;email&apos;: u&apos;david.storch@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23761&quot; title=&quot;Prevent users from downgrading 3.4=&amp;gt;3.2 if any collection has an index with a non-default collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23761&quot;&gt;&lt;del&gt;SERVER-23761&lt;/del&gt;&lt;/a&gt; make KVCatalog engines clear the NR feature bit for collation when possible&lt;/p&gt;

&lt;p&gt;On startup, if the collation feature bit is set, we traverse the&lt;br/&gt;
metadata stored in the KVCatalog. If no collation metadata exists on a&lt;br/&gt;
collection or index, then we clear the feature bit and start up&lt;br/&gt;
successfully.&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b968ee2da9478d13408c83f606194caec34ea169&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b968ee2da9478d13408c83f606194caec34ea169&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="662550">SERVER-38793</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="275066">DOCS-7503</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="272242">SERVER-23116</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="280122">SERVER-23760</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="285346">SERVER-24095</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="288440">SERVER-24248</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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="16982">3.2.8</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>Wed, 8 Jun 2016 15:10:06 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 34 weeks, 6 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-266</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>milkie@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, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrka6v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hskh87:</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="1088">Query 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|hrp7an:</customfieldvalue>

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