<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:19:02 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-28778] Multiversion testing for array updates</title>
                <link>https://jira.mongodb.org/browse/SERVER-28778</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A 3.4 primary should error when it receives array updates. A 3.6 primary should succeed when it receives array updates, and the updates should correctly replicate to a 3.4 secondary. &lt;/p&gt;</description>
                <environment></environment>
        <key id="373590">SERVER-28778</key>
            <summary>Multiversion testing for array updates</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="tess.avitabile@mongodb.com">Tess Avitabile</assignee>
                                    <reporter username="tess.avitabile@mongodb.com">Tess Avitabile</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Apr 2017 21:39:10 +0000</created>
                <updated>Wed, 2 Aug 2017 12:59:24 +0000</updated>
                            <resolved>Wed, 2 Aug 2017 12:59:24 +0000</resolved>
                                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1638550" author="david.storch" created="Wed, 2 Aug 2017 12:59:24 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tess.avitabile&quot; class=&quot;user-hover&quot; rel=&quot;tess.avitabile&quot;&gt;tess.avitabile&lt;/a&gt; sounds good, I&apos;ve closed this ticket as &quot;Won&apos;t Fix&quot;.&lt;/p&gt;</comment>
                            <comment id="1637466" author="tess.avitabile" created="Tue, 1 Aug 2017 14:14:55 +0000"  >&lt;p&gt;I&apos;m not sure what we would test, since we know that the arrayFilters feature is controlled by featureCompatibilityVersion, due to arrayFilters_feature_compatibility_version.js. We do have the sharding_last_stable_mongos_and_mixed_shards passthrough, which tests mixed shards (though not mixed replica sets). &lt;a href=&quot;https://github.com/mongodb/mongo/blob/49f9a6b840d3a56fc1947290d9f5834e6ea370a7/jstests/multiVersion/mixed_storage_version_replication.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mixed_storage_version_replication.js&lt;/a&gt; tests updates in mixed-version replica sets. &lt;a href=&quot;https://github.com/mongodb/mongo/blob/49f9a6b840d3a56fc1947290d9f5834e6ea370a7/jstests/multiVersion/upgrade_cluster.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upgrade_cluster.js&lt;/a&gt; tests CRUD operations between each stage of a normal upgrade procedure. I&apos;ve filed &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30440&quot; title=&quot;Create featureCompatibilityVersion=3.4 jsCore passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30440&quot;&gt;&lt;del&gt;SERVER-30440&lt;/del&gt;&lt;/a&gt; about a featureCompatibilityVersion=3.4 passthrough to ensure we have test coverage for the old update system on 3.6.&lt;/p&gt;</comment>
                            <comment id="1637421" author="david.storch" created="Tue, 1 Aug 2017 13:58:40 +0000"  >&lt;p&gt;I&apos;m not really concerned about that scenario either. The more important question is whether we think it&apos;s worth the time writing a test case to verify that everything works as we believe it should work. Maybe there&apos;s not a lot of value there? Presumably there are other multiversion tests which run updates in mixed version configurations?&lt;/p&gt;</comment>
                            <comment id="1636648" author="tess.avitabile" created="Mon, 31 Jul 2017 18:41:02 +0000"  >&lt;p&gt;That is a good question about validation rules. One validation rule became stricter: you can no longer &lt;tt&gt;$unset&lt;/tt&gt; a field that is a required part of a DBRef. I&apos;ve added this to my list of update system changes that should be documented in the release notes.&lt;/p&gt;

&lt;p&gt;I&apos;m not concerned about the case with a 3.4 mongos and a 3.6 mongod, because the featureCompatibilityVersion must be 3.4 in that scenario, so the arrayFilters feature will not be allowed and the old update system will be used.&lt;/p&gt;</comment>
                            <comment id="1636636" author="david.storch" created="Mon, 31 Jul 2017 18:32:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tess.avitabile&quot; class=&quot;user-hover&quot; rel=&quot;tess.avitabile&quot;&gt;tess.avitabile&lt;/a&gt;, everything above sounds good, though it might be worth brainstorming a little to think whether this project has any other upgrade/downgrade implications before closing. For example:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Did your work on validation change the rules at all for what is valid? Stricter rules could break old applications, but looser rules could prevent downgrade.&lt;/li&gt;
	&lt;li&gt;Could anything bad happen if you&apos;re using a 3.4 mongos with a 3.6 mongod? Would it be worthwhile to write a test verifying the behavior in this scenario?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1636222" author="tess.avitabile" created="Mon, 31 Jul 2017 14:13:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.storch&quot; class=&quot;user-hover&quot; rel=&quot;david.storch&quot;&gt;david.storch&lt;/a&gt;, I would like to close this ticket as Won&apos;t Fix. Since the array filters are now guarded under featureCompatibilityVersion, it is no longer necessary to test that array updates to a 3.6 primary correctly replicate to 3.4 secondaries. We test that array filters are guarded under featureCompatibilityVersion in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/238cc884e33d67bbfea7a1a93d2f19b1922de675/jstests/noPassthrough/arrayFilters_feature_compatibility_version.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;arrayFilters_feature_compatibility_version.js&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For the scenario where there is a 3.4 primary, it is easy to verify that the update command rejects the &lt;tt&gt;arrayFilters&lt;/tt&gt; option on 3.4, and that array filter identifiers are treated as fieldnames.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="373564">SERVER-28763</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 31 Jul 2017 18:32:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 28 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-28763'>SERVER-28763</a></s>]]></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-286</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>david.storch@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 28 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht5qan:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hra1hr:</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="1823">Query 2017-08-21</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|hs4b1r:</customfieldvalue>

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