<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:09:34 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>[DOCS-14129] Investigate changes in SERVER-53739: Temporary code to validate all createIndexes options</title>
                <link>https://jira.mongodb.org/browse/DOCS-14129</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h2&gt;

    &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #c2d2c2;&quot;&gt;
&lt;p&gt;    The createIndexes command had permitted values of the wrong type for at least some of the following options: background, unique, sparse, finestIndexedLevel, coarsestIndexedLevel, dropDups, weights, default_language, language_override, wildcardProjection, 2dsphereIndexVersion, textIndexVersion, bits, min, and max. In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52545&quot; title=&quot;Specify input/output to listIndexes command in IDL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52545&quot;&gt;&lt;del&gt;SERVER-52545&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53739&quot; title=&quot;Validate all createIndexes options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53739&quot;&gt;&lt;del&gt;SERVER-53739&lt;/del&gt;&lt;/a&gt;, I have tightened up validation for these createIndexes options. Sara Goleman is further tightening validation in the upcoming &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52539&quot; title=&quot;Specify input/output to createIndexes command in IDL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52539&quot;&gt;&lt;del&gt;SERVER-52539&lt;/del&gt;&lt;/a&gt;, and her changes will ban unrecognized options.&lt;/p&gt;

&lt;p&gt;All valid invocations of createIndexes should work the same as before, but misformatted invocations that had silently misbehaved heretofore will be rejected henceforth.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    My change to the &quot;listIndexes&quot; IDL (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52545&quot; title=&quot;Specify input/output to listIndexes command in IDL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52545&quot;&gt;&lt;del&gt;SERVER-52545&lt;/del&gt;&lt;/a&gt;) has caused an intermittent failure in jstestfuzz_replication_initsync, I think this is the sequence:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the fuzzer generates a createIndexes command like {createIndexes: [
{key: &quot;foo&quot;, dropDups: &quot;some string&quot;}
&lt;p&gt;]}&lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;that&apos;s wrong because &quot;dropDups&quot; is supposed to be a bool, but createIndexes succeeds anyway (its parameter validation is spotty, awaiting &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52539&quot; title=&quot;Specify input/output to createIndexes command in IDL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52539&quot;&gt;&lt;del&gt;SERVER-52539&lt;/del&gt;&lt;/a&gt;) and creates a corrupt catalog entry&lt;/li&gt;
	&lt;li&gt;subsequent &quot;listIndexes&quot; commands fail with a uassert, because they now strictly parse the catalog entries. The message is like: &quot;Could not parse catalog entry while replying to listIndexes&quot;&lt;/li&gt;
	&lt;li&gt;initial sync is now impossible because the sync source can&apos;t answer &quot;listIndexes&quot;. The initial-sync node crashes, logging:
&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;&amp;gt; &quot;Fatal assertion&quot;,&quot;attr&quot;:{&quot;msgid&quot;:40088,&quot;error&quot;:&quot;InitialSyncFailure: error cloning databases :: caused by :: Location5254501: Error cloning collection &apos;qa450.existingname&apos; :: caused by :: listIndexes failed: { ok: 0.0, errmsg: \&quot;Could not parse catalog entry while replying to listIndexes\&quot;, code: 5254501, codeName: \&quot;Location5254501\&quot;,&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;This will be fixed by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52539&quot; title=&quot;Specify input/output to createIndexes command in IDL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52539&quot;&gt;&lt;del&gt;SERVER-52539&lt;/del&gt;&lt;/a&gt; &quot;Specify input/output to createIndexes command in IDL&quot;, which will make createIndexes as strict as listIndexes. But I want to fix the BF sooner than that, so this ticket is a bandaid.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;(In retrospect, we should&apos;ve converted createIndexes before listIndexes, but I didn&apos;t anticipate this issue.)&lt;/p&gt;

&lt;p&gt;I made createIndexes validate the &quot;background&quot; option in &lt;a href=&quot;https://github.com/mongodb/mongo/commit/9537e7f9bd14ec7e097077b5a31e7a7db674114b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this commit&lt;/a&gt;, now I&apos;ll validate the rest of the options.&lt;/p&gt;


&lt;h2&gt;&lt;a name=&quot;Scopeofchanges&quot;&gt;&lt;/a&gt;Scope of changes&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;ImpacttoOtherDocs&quot;&gt;&lt;/a&gt;Impact to Other Docs&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;MVP%28WorkandDate%29&quot;&gt;&lt;/a&gt;MVP (Work and Date)&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;Resources%28ScopeorDesignDocs%2CInvision%2Cetc.%29&quot;&gt;&lt;/a&gt;Resources (Scope or Design Docs, Invision, etc.)&lt;/h2&gt;
</description>
                <environment></environment>
        <key id="1590939">DOCS-14129</key>
            <summary>Investigate changes in SERVER-53739: Temporary code to validate all createIndexes options</summary>
                <type id="5" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14716&amp;avatarType=issuetype">Sub-task</type>
                            <parent id="1594123">DOCS-14385</parent>
                                    <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="joseph.dougherty@mongodb.com">Joseph Dougherty</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Jan 2021 23:49:15 +0000</created>
                <updated>Mon, 13 Nov 2023 17:59:48 +0000</updated>
                            <resolved>Tue, 27 Apr 2021 22:09:49 +0000</resolved>
                                                    <fixVersion>5.1.0-rc0</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3742648" author="JIRAUSER1257483" created="Tue, 27 Apr 2021 22:09:49 +0000"  >&lt;p&gt;The &lt;b&gt;createIndexes&lt;/b&gt;&#160;command is documented on the&#160;&lt;b&gt;5.0 Compatibility Changes&lt;/b&gt;&#160;&lt;b&gt;page&lt;/b&gt;:&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-14385&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/DOCS-14385&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Command behavior re rejecting invalid arguments is documented on the&#160;&lt;b&gt;Versioned API page&lt;/b&gt;:&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/DOCSP-15027&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/DOCSP-15027&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="1588852">SERVER-53739</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 27 Apr 2021 22:09:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 41 weeks, 1 day 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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 41 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>joseph.dougherty@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hypnxz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hybdcf:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4977">ServerDocs2020: Apr27 -  May4</customfieldvalue>
    <customfieldvalue id="5002">ServerDocs2020: May4 -  May11</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hypa7b:</customfieldvalue>

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