<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:28:07 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-74670] A new startup parameter to ignore unsupported parameters </title>
                <link>https://jira.mongodb.org/browse/SERVER-74670</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;New server startup parameters can break older mongoDB versions.&#160; For example, loadBalancerPort (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-60679&quot; title=&quot;Open a port on Mongos that accepts proxied connections and mark Sessions as such&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-60679&quot;&gt;&lt;del&gt;SERVER-60679&lt;/del&gt;&lt;/a&gt;) was backported to 5.0 and 5.2. So it&apos;s only applicable to 5.0/5.2/6.0+. MongoDb fails to start if we use it on 5.1.&#160;&lt;/p&gt;

&lt;p&gt;Cloud backup/restore can run into this type of mongoDb startup failures due to incompatible parameters, especially with rapid release versions. For instance, to restore a mongoDB version 5.1 snapshot to a version 6.3 target cluster, as suggested by the server teams, we&apos;d need to start mongoDB 5.1 on the snapshot and successively upgrade it 5.1-&amp;gt;5.2-&amp;gt;5.3-&amp;gt;6.0-&amp;gt;..-&amp;gt;6.3. We currently use the startup parameters from the target cluster to start all the versions in the upgrade path. Using loadBalancerPort as an example, since it doesn&apos;t work with version 5.1, restore will fail.&#160;&lt;/p&gt;

&lt;p&gt;It&apos;d be hard for backup team to keep track of versions and incompatible parameters. Therefore, we&apos;d like to request a new startup parameter to let server ignore unsupported startup parameters. We can apply this new parameter to its supported versions only.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2283201">SERVER-74670</key>
            <summary>A new startup parameter to ignore unsupported parameters </summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="mark.benvenuto@mongodb.com">Mark Benvenuto</assignee>
                                    <reporter username="xiang.gao@mongodb.com">Xiang Gao</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Mar 2023 15:33:36 +0000</created>
                <updated>Mon, 26 Jun 2023 15:28:17 +0000</updated>
                            <resolved>Mon, 26 Jun 2023 15:28:17 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="5525019" author="mark.benvenuto" created="Mon, 26 Jun 2023 15:28:17 +0000"  >&lt;p&gt;As discussed in previous comments, I do not think this such a feature to ignore unknown setParameters is a good idea and I am closing this ticket.&lt;/p&gt;</comment>
                            <comment id="5493047" author="mark.benvenuto" created="Mon, 12 Jun 2023 19:47:40 +0000"  >&lt;p&gt;If the server adds a flag, then server is committed to supporting this for all customers even if the flag is hidden. Since the code is open source, its existence can be discovered by reading the code. Also, there has not been demand from other customers to support this.&lt;/p&gt;</comment>
                            <comment id="5489062" author="xiang.gao" created="Fri, 9 Jun 2023 19:31:42 +0000"  >&lt;blockquote&gt;&lt;p&gt;You can get a list of setParameter that a given mongod instance supports by running the getParameter command (see &lt;a href=&quot;https://www.mongodb.com/docs/upcoming/reference/command/getParameter/#retrieve-all-parameters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/upcoming/reference/command/getParameter/#retrieve-all-parameters&lt;/a&gt;). You can use this list to filter out setParmeters the server does not know about.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;How is this different we do it or server does it internally? This parameter can be private (not in public doc)&lt;/p&gt;</comment>
                            <comment id="5489021" author="mark.benvenuto" created="Fri, 9 Jun 2023 19:14:01 +0000"  >&lt;p&gt;As stated before, MongoDB strives for backwards compatibility (particularly with API stability feature), but it has never guaranteed forwards compatibility. The API stability guarantees do not apply to setParameters though (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/a56b96b31585eb845b7dcbfbd52c9e52cef5d560/src/mongo/db/STABLE_API_README.md&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/a56b96b31585eb845b7dcbfbd52c9e52cef5d560/src/mongo/db/STABLE_API_README.md&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;You can get a list of &lt;tt&gt;setParameter&lt;/tt&gt; that a given mongod instance supports by running the &lt;tt&gt;getParameter&lt;/tt&gt; command (see &lt;a href=&quot;https://www.mongodb.com/docs/upcoming/reference/command/getParameter/#retrieve-all-parameters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/upcoming/reference/command/getParameter/#retrieve-all-parameters&lt;/a&gt;). You can use this list to filter out setParmeters the server does not know about.&lt;/p&gt;

&lt;p&gt;At this time, we have no plans to add the ability to ignore unknown setParameters. I understand that you would like to run any MongoDB version with any set of setParameters you choose and MongoDB should just ignore the ones it does not know about. &lt;/p&gt;

&lt;p&gt;We have concerns you may set parameters on versions with unknown effects. This may cause problems over the long term as you cannot tell which setParameters have an affect on the server. Worse, as per your example:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;A setting that does not have affect the server suddenly has an effect because of a backport.&lt;/li&gt;
	&lt;li&gt;A setParameter that is believed to have an effect, does not affect the server because it is misspelled or does not exist.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;I believe this pattern would be fragile long term and do not want to enable support the ability to ignore setParameters at this time.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1897832">SERVER-60679</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>4.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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25129"><![CDATA[Server Security]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 13 Mar 2023 17:19:01 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        32 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>mark.benvenuto@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            32 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
            <customfieldvalue>xiang.gao@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1z9s7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1ho0g:</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="7323">Security 2023-06-12</customfieldvalue>
    <customfieldvalue id="7324">Security 2023-06-26</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|i1yvxj:</customfieldvalue>

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