<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:14:24 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-16022] [Server] Investigate changes in SERVER-75054: Clarify names and default value for QueryFrameworkControl</title>
                <link>https://jira.mongodb.org/browse/DOCS-16022</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>
    &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;Original Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    On v6.3 by default, internal server parameter &apos;internalQueryFrameworkControl&apos; is set to &apos;tryBonsai&apos;, and the feature flag &apos;featureFlagCommonQueryFramework&apos; is disabled. &lt;/p&gt;

&lt;p&gt;This commit changes the default for v7.0. On v7.0 by default, internal server parameter &apos;internalQueryFrameworkControl&apos; is set to &apos;trySbeEngine&apos;, and the feature flag &apos;featureFlagCommonQueryFramework&apos; is still disabled. Also, this commit makes it an error to set &apos;internalQueryFrameworkControl&apos; to &apos;tryBonsai&apos; when &apos;featureFlagCommonQueryFramework&apos; is disabled. &lt;/p&gt;

&lt;p&gt;So, if a user on v6.3.dumped all of the default values of server parameters, including internal parameters, to a file and then used that file to start up a 7.0 mongod, they would see an error. The effect would be the same as trying to set an internal server parameter which has been deleted. We do not expect this to be common.&lt;/p&gt;

&lt;p&gt;Note there are no changes to the default query behavior seen by users because the related feature flag is still disabled. Also, this does not affect users who have the internal flag set to &apos;forceClassic&apos;. The change is that mongod cannot start up by default with &apos;internalQueryFrameworkControl&apos; set to &apos;tryBonsai&apos;.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    Currently users can pass in any of these values for the QueryFrameworkControl enum:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;forceClassicEngine&lt;/li&gt;
	&lt;li&gt;trySbeEngine&lt;/li&gt;
	&lt;li&gt;tryBonsai
	&lt;ul&gt;
		&lt;li&gt;&lt;b&gt;This is the default.&lt;/b&gt;&lt;/li&gt;
		&lt;li&gt;Confusingly, it behaves the same as &apos;trySbeEngine&apos; by default. (Depends on a feature flag.)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;forceBonsai
	&lt;ul&gt;
		&lt;li&gt;Also behaves the same as &apos;trySbeEngine&apos; by default.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;There are a couple problems with this:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;The default behavior is unclear: the enum defaults to &apos;tryBonsai&apos; but the actual behavior defaults to &apos;trySbeEngine&apos;.&lt;/li&gt;
	&lt;li&gt;The name &quot;Bonsai&quot; may not be final, so we should not bake it in to user-facing options.&lt;/li&gt;
&lt;/ol&gt;


&lt;hr /&gt;
&lt;p&gt;I would propose the following behavior:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;forceClassicEngine&lt;/li&gt;
	&lt;li&gt;trySbeEngine
	&lt;ul&gt;
		&lt;li&gt;Make this the default.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;tryBonsai
	&lt;ul&gt;
		&lt;li&gt;Error if the feature flag is not enabled.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;forceBonsai
	&lt;ul&gt;
		&lt;li&gt;Error if the feature flag is not enabled.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This solves the two problems:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;The default behavior is clearly &apos;trySbeEngine&apos;.&lt;/li&gt;
	&lt;li&gt;The names &apos;tryBonsai&apos; and &apos;forceBonsai&apos; are not user-facing, because you can&apos;t specify them without the feature flag + enableTestCommands.&lt;/li&gt;
&lt;/ol&gt;

</description>
                <environment></environment>
        <key id="2310588">DOCS-16022</key>
            <summary>[Server] Investigate changes in SERVER-75054: Clarify names and default value for QueryFrameworkControl</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Apr 2023 15:25:56 +0000</created>
                <updated>Mon, 13 Nov 2023 17:33:49 +0000</updated>
                            <resolved>Mon, 10 Apr 2023 22:11:46 +0000</resolved>
                                                    <fixVersion>7.0.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>3</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="2292635">SERVER-75054</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>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 10 Apr 2023 15:26:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        43 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>On v6.3 by default, internal server parameter &amp;#39;internalQueryFrameworkControl&amp;#39; is set to &amp;#39;tryBonsai&amp;#39;, and the feature flag &amp;#39;featureFlagCommonQueryFramework&amp;#39; is disabled. &lt;br/&gt;
&lt;br/&gt;
This commit changes the default for v7.0. On v7.0 by default, internal server parameter &amp;#39;internalQueryFrameworkControl&amp;#39; is set to &amp;#39;trySbeEngine&amp;#39;, and the feature flag &amp;#39;featureFlagCommonQueryFramework&amp;#39; is still disabled. Also, this commit makes it an error to set &amp;#39;internalQueryFrameworkControl&amp;#39; to &amp;#39;tryBonsai&amp;#39; when &amp;#39;featureFlagCommonQueryFramework&amp;#39; is disabled. &lt;br/&gt;
&lt;br/&gt;
So, if a user on v6.3.dumped all of the default values of server parameters, including internal parameters, to a file and then used that file to start up a 7.0 mongod, they would see an error. The effect would be the same as trying to set an internal server parameter which has been deleted. We do not expect this to be common.&lt;br/&gt;
&lt;br/&gt;
Note there are no changes to the default query behavior seen by users because the related feature flag is still disabled. Also, this does not affect users who have the internal flag set to &amp;#39;forceClassic&amp;#39;. The change is that mongod cannot start up by default with &amp;#39;internalQueryFrameworkControl&amp;#39; set to &amp;#39;tryBonsai&amp;#39;.</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>emet.ozar@mongodb.com</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1mcag:</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_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|i23mgf:</customfieldvalue>

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