<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:34:45 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-77181] Implement query settings support in Bonsai</title>
                <link>https://jira.mongodb.org/browse/SERVER-77181</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Based on the current design, query settings will only be supported for queries handled by the multiplanner for both Classic and Nebari engines.&lt;/p&gt;

&lt;p&gt;Once Bonsai becomes available it would be great to make them support query settings as well.&lt;/p&gt;

&lt;p&gt;The tasks would be:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Support the &quot;v3&quot; engine hint. Currently v1 (Classic + Multiplanner) and v2 (Nebari + Multiplanner) are planned to be supported.&lt;/li&gt;
	&lt;li&gt;Support index hints specified using persistent query settings in Bonsai.&lt;/li&gt;
	&lt;li&gt;Ensure that the &#8216;querySettings&#8217; field in the explain output is present and accurate in CQF explain&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2342436">SERVER-77181</key>
            <summary>Implement query settings support in Bonsai</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="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-optimization">Backlog - Query Optimization</assignee>
                                    <reporter username="denis.grebennicov@mongodb.com">Denis Grebennicov</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 May 2023 15:11:14 +0000</created>
                <updated>Tue, 14 Nov 2023 19:13:54 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="5879860" author="JIRAUSER1259305" created="Tue, 14 Nov 2023 19:13:54 +0000"  >&lt;p&gt;I am not sure we should do anything about Bonsai and index filters, since we deprecate index filters in PM-412 and hopefully will remove them in 9.0&lt;/p&gt;

&lt;p&gt;Not sure adding support for it is worthy, unless it&apos;s trivial.&lt;/p&gt;

&lt;p&gt;I would want query settings to add support for forced indexes and then all types of hints would be represented via query settings alone and then there would be no need for handling 3 different types of hints. Maybe this could be done as part of rich hints project :shrug:&lt;/p&gt;</comment>
                            <comment id="5878913" author="hana.pearlman" created="Tue, 14 Nov 2023 15:29:36 +0000"  >&lt;p&gt;We&apos;ll probably want to do part of the &quot;support index hints specified using persistent query settings in Bonsai&quot; subtask in M2. Specifically, it&apos;s possible through query settings to hint a collscan (via {$natural: +1/-1}), which is supported in M2. The same is true for index filters set via planCacheSetFilter, so we&apos;ll want to make sure that we&apos;re supporting this as well, and correctly handling the hierarchy of index filters, index hints on a query, and index hints from query settings. It may make sense to do this work together here.&lt;/p&gt;</comment>
                            <comment id="5586890" author="david.storch" created="Mon, 24 Jul 2023 15:53:42 +0000"  >&lt;p&gt;Putting this in the M2 correctness project per discussion in optimizer huddle. We don&apos;t actually think we should implement it yet because the persistent query settings project is ongoing, but we also don&apos;t want to forget about it.&lt;/p&gt;

&lt;p&gt;Also, we should consider splitting this work into two subtasks: one for adding queryEngineVersion:&quot;v3&quot; (we should reopen duplicate ticket &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78996&quot; title=&quot;Extend persistent query settings to support queryEngineVersion:&amp;quot;v3&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78996&quot;&gt;&lt;del&gt;SERVER-78996&lt;/del&gt;&lt;/a&gt;?) and one about making Bonsai respect index hints set using persistent query settings.&lt;/p&gt;

&lt;p&gt;Marking as blocked on the &quot;enable feature flag&quot; ticket for the persistent query settings project.&lt;/p&gt;</comment>
                            <comment id="5568238" author="david.storch" created="Fri, 14 Jul 2023 21:59:27 +0000"  >&lt;p&gt;Per Slack discussion with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=denis.grebennicov%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;denis.grebennicov@mongodb.com&quot;&gt;denis.grebennicov@mongodb.com&lt;/a&gt; this is not going to be done as part of the current project, so I&apos;m putting this into the triage queue to find it a new home.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1529919">SERVER-52304</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="2392284">SERVER-78996</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_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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 14 Jul 2023 21:59:27 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<a href='https://jira.mongodb.org/browse/SERVER-52304'>SERVER-52304</a>]]></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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-3240</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>denis.grebennicov@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-query-optimization</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>denis.grebennicov@mongodb.com</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|i29gt3:</customfieldvalue>

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

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