<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:29:12 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-75054] Clarify names and default value for QueryFrameworkControl</title>
                <link>https://jira.mongodb.org/browse/SERVER-75054</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&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="2292635">SERVER-75054</key>
            <summary>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="13201">Fixed</resolution>
                                        <assignee username="hana.pearlman@mongodb.com">Hana Pearlman</assignee>
                                    <reporter username="david.percy@mongodb.com">David Percy</reporter>
                        <labels>
                    </labels>
                <created>Mon, 20 Mar 2023 15:44:21 +0000</created>
                <updated>Sun, 29 Oct 2023 21:24:37 +0000</updated>
                            <resolved>Mon, 10 Apr 2023 15:25:53 +0000</resolved>
                                                    <fixVersion>7.0.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="5331446" author="xgen-internal-githook" created="Thu, 6 Apr 2023 23:10:29 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Hana Pearlman&apos;, &apos;email&apos;: &apos;hana.pearlman@mongodb.com&apos;, &apos;username&apos;: &apos;HanaPearlman&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-75054&quot; title=&quot;Clarify names and default value for QueryFrameworkControl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-75054&quot;&gt;&lt;del&gt;SERVER-75054&lt;/del&gt;&lt;/a&gt;: Change default of internalQueryFrameworkControl to trySbeEngine&lt;/p&gt;

&lt;p&gt;Changes the default for internalQueryFrameworkControl to&lt;br/&gt;
trySbeEngine from tryBonsai. After the change, if the CQF&lt;br/&gt;
feature flag is off, trying to set the control knob to&lt;br/&gt;
tryBonsai or forceBonsai will fail.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a69cf3209b0596c5814f71f1a69657abd78adf54&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a69cf3209b0596c5814f71f1a69657abd78adf54&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="2310588">DOCS-16022</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25126"><![CDATA[Query Optimization]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 23 Mar 2023 13:54:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        43 weeks, 6 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[Needed]]></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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            43 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.percy@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>hana.pearlman@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i20xb3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1jak8:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7230">QO 2023-04-17</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16943"><![CDATA[Cloud]]></customfieldvalue>
    <customfieldvalue key="16944"><![CDATA[Docs]]></customfieldvalue>
    <customfieldvalue key="16946"><![CDATA[Triage and Release]]></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|i20jgf:</customfieldvalue>

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