<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:16:01 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-27722] Write tests for mixVersion, upgrade/dowgrade scenario for logical clock</title>
                <link>https://jira.mongodb.org/browse/SERVER-27722</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The mongo config server should not enable key generation until the  featureCompatibilityVersion = 3.6 is set&lt;br/&gt;
The mongo should not write to oplog until  featureCompatibilityVersion = 3.6 is set. For the sharded cluster the  featureCompatibilityVersion is sent to mongos and it in turn send it to config servers and shards.&lt;/p&gt;

&lt;p&gt;The existing multiversion test suite. &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/jstests/multiVersion/upgrade_cluster.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/jstests/multiVersion/upgrade_cluster.js&lt;/a&gt;&lt;br/&gt;
starts with last-stable binary = 3.4 and upgrades it to the latest = current master.&lt;/p&gt;

&lt;p&gt;upgrade order is&lt;br/&gt;
config servers&lt;br/&gt;
shards&lt;br/&gt;
mongos&lt;/p&gt;

&lt;p&gt;need to add a test case where&lt;br/&gt;
once the config servers are upgraded it verifies that &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;config returns dummy signed $logicalTime and operation time&lt;/li&gt;
	&lt;li&gt;mongod and mongos ignore afterClusterTime that can be sent by mongo shell&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt; once mongod is upgraded &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;mongod  returns dummy signed $logicalTime and operation time&lt;/li&gt;
	&lt;li&gt;mongod and mongos ignore afterClusterTime that can be sent by mongo shell&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;once mongos are upgraded and &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;mongod and mongos returns dummy signed $logicalTime and operation time&lt;/li&gt;
	&lt;li&gt;mongod and mongos ignore afterClusterTime that can be sent by mongo shell&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;once featureCompatibilityVersion = 3.6 is set&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;mongos and mongod correctly process causally consistent requests&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;the downgrade should check this in reverse.&lt;/p&gt;</description>
                <environment></environment>
        <key id="346448">SERVER-27722</key>
            <summary>Write tests for mixVersion, upgrade/dowgrade scenario for logical clock</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="jack.mulrow@mongodb.com">Jack Mulrow</assignee>
                                    <reporter username="randolph@mongodb.com">Randolph Tan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Jan 2017 21:49:49 +0000</created>
                <updated>Wed, 6 Dec 2017 21:10:32 +0000</updated>
                            <resolved>Fri, 23 Jun 2017 17:47:19 +0000</resolved>
                                    <version>3.5.1</version>
                                    <fixVersion>3.5.10</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1605448" author="xgen-internal-githook" created="Fri, 23 Jun 2017 17:46:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jsmulrow&apos;, u&apos;name&apos;: u&apos;Jack Mulrow&apos;, u&apos;email&apos;: u&apos;jack.mulrow@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-27722&quot; title=&quot;Write tests for mixVersion, upgrade/dowgrade scenario for logical clock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-27722&quot;&gt;&lt;del&gt;SERVER-27722&lt;/del&gt;&lt;/a&gt; write tests for upgrade/downgrade scenario for logical clock&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/063f30fab53d4a15d5c680337ae168fb1efe9530&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/063f30fab53d4a15d5c680337ae168fb1efe9530&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1594971" author="misha.tyulenev" created="Mon, 12 Jun 2017 22:24:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jack.mulrow&quot; class=&quot;user-hover&quot; rel=&quot;jack.mulrow&quot;&gt;jack.mulrow&lt;/a&gt; yes implementing this scenario is required but can be split off into a separate jira that we can address later  &lt;/p&gt;</comment>
                            <comment id="1594932" author="jack.mulrow" created="Mon, 12 Jun 2017 21:50:05 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=misha.tyulenev&quot; class=&quot;user-hover&quot; rel=&quot;misha.tyulenev&quot;&gt;misha.tyulenev&lt;/a&gt;&lt;br/&gt;
1. I meant the scenario described at the bottom of this ticket, where one of the config servers might say it&apos;s replicated after an initial sync without copying the admin.system.keys collection&lt;br/&gt;
2. Got it. Thanks!&lt;/p&gt;</comment>
                            <comment id="1594926" author="misha.tyulenev" created="Mon, 12 Jun 2017 21:46:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jack.mulrow&quot; class=&quot;user-hover&quot; rel=&quot;jack.mulrow&quot;&gt;jack.mulrow&lt;/a&gt; here are the clarifications:&lt;br/&gt;
1. please clarify what is the &quot;test csrs scenario&quot; . &lt;br/&gt;
2. it means that it should not add a &quot;wall&quot; field to the oplog entries &lt;a href=&quot;https://github.com/mongodb/mongo/commit/a85685ce5ed0e07107476e1f4098034452cf7d6a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a85685ce5ed0e07107476e1f4098034452cf7d6a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1594909" author="jack.mulrow" created="Mon, 12 Jun 2017 21:26:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=misha.tyulenev&quot; class=&quot;user-hover&quot; rel=&quot;misha.tyulenev&quot;&gt;misha.tyulenev&lt;/a&gt; couple questions:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;It looks like there isn&apos;t a test for downgrading a sharded cluster, is it worth making a new one? Or is it enough to just test the csrs scenario?&lt;/li&gt;
	&lt;li&gt;What exactly does it mean that &quot;mongo should not write to the oplog&quot;? Is that just the appendOplogNote command in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.5.8/src/mongo/db/read_concern.cpp#L69&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;makeNoopWriteIfNeeded&lt;/a&gt;? Or something else?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1592388" author="renctan" created="Fri, 9 Jun 2017 16:13:25 +0000"  >&lt;p&gt;The ticket looks good to me. We have to double check the downgrade procedure: It might involve sending featureCompatibilityVersion to 3.4.&lt;/p&gt;</comment>
                            <comment id="1591364" author="misha.tyulenev" created="Thu, 8 Jun 2017 18:12:31 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=renctan&quot; class=&quot;user-hover&quot; rel=&quot;renctan&quot;&gt;renctan&lt;/a&gt; could you please take a look and lmk the feedback? Thanks!&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_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>Thu, 8 Jun 2017 18:12:31 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 33 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jack.mulrow@mongodb.com</customfieldvalue>
            <customfieldvalue>misha.tyulenev@mongodb.com</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht144n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrairr:</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="1705">Sharding 2017-06-19</customfieldvalue>
    <customfieldvalue id="1726">Sharding 2017-07-10</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|hs4iuf:</customfieldvalue>

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