<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:38:47 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-35086] empty collMod oplog entry mimics upgrade</title>
                <link>https://jira.mongodb.org/browse/SERVER-35086</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In 3.6, an empty collMod is interpreted as an upgrade or downgrade command. However, just sending the server an empty collMod command creates an identical oplog entry. Initial sync is not safe with UUID upgrade/downgrade oplog entries, so it&apos;s not safe to log empty collMod oplog entries at all.&lt;/p&gt;</description>
                <environment></environment>
        <key id="546450">SERVER-35086</key>
            <summary>empty collMod oplog entry mimics upgrade</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="13201">Fixed</resolution>
                                        <assignee username="sean.tao">Sean Tao</assignee>
                                    <reporter username="judah.schvimer@mongodb.com">Judah Schvimer</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Fri, 18 May 2018 19:04:11 +0000</created>
                <updated>Sun, 29 Oct 2023 22:31:41 +0000</updated>
                            <resolved>Mon, 23 Jul 2018 21:48:42 +0000</resolved>
                                                    <fixVersion>3.6.6</fixVersion>
                                    <component>Replication</component>
                    <component>Storage</component>
                    <component>Upgrade/Downgrade</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1954303" author="xgen-internal-githook" created="Mon, 23 Jul 2018 21:47:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;seantao97&apos;, &apos;name&apos;: &apos;seantao97&apos;, &apos;email&apos;: &apos;seantao97@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35086&quot; title=&quot;empty collMod oplog entry mimics upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35086&quot;&gt;&lt;del&gt;SERVER-35086&lt;/del&gt;&lt;/a&gt; empty collMod oplog entry mimics upgrade&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/07e98ebdac2029a63abd08a39e8b6141d8b04ae2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/07e98ebdac2029a63abd08a39e8b6141d8b04ae2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1912424" author="sean.tao" created="Wed, 6 Jun 2018 14:49:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=judah.schvimer&quot; class=&quot;user-hover&quot; rel=&quot;judah.schvimer&quot;&gt;judah.schvimer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ok, I think I originally misunderstood the ticket. I thought that we were supposed to return an error for empty collMod commands because it was becoming deprecated or something like that. Thanks!&lt;/p&gt;</comment>
                            <comment id="1911932" author="judah.schvimer" created="Tue, 5 Jun 2018 22:17:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sean.tao&quot; class=&quot;user-hover&quot; rel=&quot;sean.tao&quot;&gt;sean.tao&lt;/a&gt;, I would expect an empty collMod to succeed but not log an oplog entry. I&apos;d really expect any noop collMod to succeed but not log an oplog entry (but also wait for write concern if it attempts to do a write). &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=geert.bosch&quot; class=&quot;user-hover&quot; rel=&quot;geert.bosch&quot;&gt;geert.bosch&lt;/a&gt;, what do you think?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Second, it appears as if some code later on deals with update for empty coll_mods. Should we delete this code for version 3.6?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I&apos;m not sure what you mean. Are you referring to UUID upgrade code? If so, that code definitely needs to stay in 3.6 and I believe 4.0 as well.&lt;/p&gt;</comment>
                            <comment id="1911776" author="sean.tao" created="Tue, 5 Jun 2018 20:29:19 +0000"  >&lt;p&gt;Hi, I have a few questions about this ticket, which will be in the updated code review. First, and this is for Judah, what is the expected behavior for an empty coll_mod request? Right now I just return Status(ErrorCodes::InvalidOptions...), but I wanted to confirm this is what you wanted.&lt;/p&gt;

&lt;p&gt;Second, it appears as if some code later on deals with update for empty coll_mods. Should we delete this code for version 3.6?&lt;/p&gt;

&lt;p&gt;And finally, in the evergreen patch, we fail some tests, specifically&#160;&lt;a href=&quot;https://evergreen.mongodb.com/task_history/mongodb-mongo-master/jsCore?revision=c257b9a2e8b53fd58a8a4a9d79972a80f9d1e00f#collmod_without_uuid.js=fail&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;collmod_without_uuid.js&lt;/a&gt;&#160;in&#160;jsCore&#160;on&#160;Linux DEBUG, because I believe the test sends an empty coll_mod request. Because this is only for v3.6, I was wondering what we should do about this test. Here is the relevant section of the log:&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
 e&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;MongoDFixture:job1&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.226+0000 I COMMAND &lt;span class=&quot;error&quot;&gt;&amp;#91;conn77&amp;#93;&lt;/span&gt; CMD: drop test.collmod_without_uuid&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;MongoDFixture:job1&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.227+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;conn77&amp;#93;&lt;/span&gt; createCollection: test.collmod_without_uuid with generated UUID: 5ce8ba7d-d7e2-448f-8ccc-a7d9e01e9ca0&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;MongoDFixture:job1&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.248+0000 E REPL &lt;span class=&quot;error&quot;&gt;&amp;#91;conn77&amp;#93;&lt;/span&gt; Failed command { collMod: &quot;collmod_without_uuid&quot; } on test with status InvalidOptions: Cannot send an empty command to collMod during oplog application&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;js_test:collmod_without_uuid&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.250+0000 assert: command failed:&lt;/p&gt;

{ [js_test:collmod_without_uuid] 2018-06-05T20:15:22.271+0000 &quot;applied&quot; : 1, [js_test:collmod_without_uuid] 2018-06-05T20:15:22.273+0000 &quot;code&quot; : 72, [MongoDFixture:job1] 2018-06-05T20:15:22.251+0000 I NETWORK [conn77] end connection 127.0.0.1:37806 (0 connections now open) [js_test:collmod_without_uuid] 2018-06-05T20:15:22.275+0000 &quot;codeName&quot; : &quot;InvalidOptions&quot;, [js_test:collmod_without_uuid] 2018-06-05T20:15:22.275+0000 &quot;errmsg&quot; : &quot;Cannot send an empty command to collMod&quot;, [js_test:collmod_without_uuid] 2018-06-05T20:15:22.276+0000 &quot;results&quot; : [ [js_test:collmod_without_uuid] 2018-06-05T20:15:22.277+0000 false [js_test:collmod_without_uuid] 2018-06-05T20:15:22.280+0000 ], [js_test:collmod_without_uuid] 2018-06-05T20:15:22.280+0000 &quot;ok&quot; : 0 [js_test:collmod_without_uuid] 2018-06-05T20:15:22.282+0000 }

&lt;p&gt;: {&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;js_test:collmod_without_uuid&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.284+0000 &quot;applyOps&quot; : [&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;js_test:collmod_without_uuid&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.285+0000 {&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;js_test:collmod_without_uuid&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.285+0000 &quot;ns&quot; : &quot;test.$cmd&quot;,&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;js_test:collmod_without_uuid&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.287+0000 &quot;op&quot; : &quot;c&quot;,&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;js_test:collmod_without_uuid&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.288+0000 &quot;o&quot; :&lt;/p&gt;

{ [js_test:collmod_without_uuid] 2018-06-05T20:15:22.290+0000 &quot;collMod&quot; : &quot;collmod_without_uuid&quot; [js_test:collmod_without_uuid] 2018-06-05T20:15:22.291+0000 }

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;js_test:collmod_without_uuid&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.292+0000 }&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;js_test:collmod_without_uuid&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.292+0000 ]&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;js_test:collmod_without_uuid&amp;#93;&lt;/span&gt; 2018-06-05T20:15:22.292+0000 }&lt;br/&gt;
 &#160;&lt;br/&gt;
 &#160;&lt;br/&gt;
 Thanks&lt;/p&gt;

&lt;p&gt;Sean&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.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>Mon, 4 Jun 2018 20:12:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 29 weeks, 2 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_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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 29 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>65.0</customfieldvalue>

                        </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>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>sean.tao</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htyho7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htrga7:</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="2329">Storage NYC 2018-06-18</customfieldvalue>
    <customfieldvalue id="2391">Storage NYC 2018-07-02</customfieldvalue>
    <customfieldvalue id="2393">Storage NYC 2018-07-16</customfieldvalue>
    <customfieldvalue id="2394">Storage NYC 2018-07-30</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|hty3xj:</customfieldvalue>

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