<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:41:09 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-79508] Investigate removing StubMongoProcessInterface from production use</title>
                <link>https://jira.mongodb.org/browse/SERVER-79508</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;del&gt;We check if the &lt;tt&gt;mongoProcessInterface&lt;/tt&gt; that we are dealing with is a &lt;tt&gt;StubMongoProcessInterface&lt;/tt&gt; in a couple of spots for $search/$vectorSearch (example: &lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/blob/22813e8d3255d865dafb7b79d75800465da20c1c/src/search/mongot_cursor.h#L80)&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/blob/22813e8d3255d865dafb7b79d75800465da20c1c/src/search/mongot_cursor.h#L80)&lt;/a&gt;. This may be the case when parsing the pipeline for QE, pipeline-style updates, and views (at a minimum). We should try to detect these cases other ways so we don&apos;t have to check the implementation type.&lt;/del&gt;&lt;/p&gt;

&lt;p&gt;This check didn&apos;t end up being feasible to change. We need to investigate how to get rid of StubMongoProcessInterface from being used in production in the first place.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2405310">SERVER-79508</key>
            <summary>Investigate removing StubMongoProcessInterface from production use</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-integration">Backlog - Query Integration</assignee>
                                    <reporter username="alyssa.clark@mongodb.com">Alyssa Clark</reporter>
                        <labels>
                            <label>qi-tech-debt</label>
                            <label>query-skunkworks</label>
                    </labels>
                <created>Mon, 31 Jul 2023 16:45:45 +0000</created>
                <updated>Thu, 25 Jan 2024 20:23:51 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5916951" author="JIRAUSER1260430" created="Thu, 30 Nov 2023 21:48:44 +0000"  >&lt;p&gt;This issue came up again in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83003&quot; title=&quot;$listSearchIndexes should throw on non-existent DB&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83003&quot;&gt;&lt;del&gt;SERVER-83003&lt;/del&gt;&lt;/a&gt; and we currently rely on the stub interface to detect if we are in query analysis. In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83003&quot; title=&quot;$listSearchIndexes should throw on non-existent DB&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83003&quot;&gt;&lt;del&gt;SERVER-83003&lt;/del&gt;&lt;/a&gt; this was important because query analysis doesn&apos;t have access to server parameters we require for validating listSearchIndexes. Additionally, there are two ExpressionContext constructors that explicitly make a stub interface (one when we perform pipeline style &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ad9cbcbd626d7eadf60f91b756f76b2b7fde8778/src/mongo/db/pipeline/expression_context.cpp#L230-L231&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;updates&lt;/a&gt; and another for query &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ad9cbcbd626d7eadf60f91b756f76b2b7fde8778/src/mongo/db/pipeline/expression_context.cpp#L257&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;shape&lt;/a&gt;). So we do rely on the stub interface in production.&lt;/p&gt;</comment>
                            <comment id="5773941" author="ted.tuckman" created="Thu, 12 Oct 2023 16:10:19 +0000"  >&lt;p&gt;We would like to move toward a world in which we don&apos;t use the stub in production &#8211; if there&apos;s a straightforward way of changing the existing explicit checks great, if not we can postpone this.&lt;/p&gt;</comment>
                            <comment id="5773678" author="maddie.zechar" created="Thu, 12 Oct 2023 14:54:41 +0000"  >&lt;p&gt;Ok if this is a step toward removing the stub interface, heard.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I checked in with Jacob who wrote the original code and disagreed that type checking is slow.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;But I&apos;ll move forward in the interest of getting rid of the stub interface eventually? cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ted.tuckman%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;ted.tuckman@mongodb.com&quot;&gt;ted.tuckman@mongodb.com&lt;/a&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5771842" author="JIRAUSER1271286" created="Wed, 11 Oct 2023 21:01:50 +0000"  >&lt;p&gt;Ideally we wouldn&apos;t use the stub interface in production at all, so this is a step towards that. I don&apos;t remember much context beyond that - &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ted.tuckman%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;ted.tuckman@mongodb.com&quot;&gt;ted.tuckman@mongodb.com&lt;/a&gt; IIRC you were advocating for this ticket being created, do you remember any other reasoning for it?&#160;&lt;/p&gt;</comment>
                            <comment id="5771824" author="maddie.zechar" created="Wed, 11 Oct 2023 20:56:33 +0000"  >&lt;p&gt;Got it - could you please explain why you feel that the code linked is bad?&lt;/p&gt;</comment>
                            <comment id="5771811" author="JIRAUSER1271286" created="Wed, 11 Oct 2023 20:54:11 +0000"  >&lt;p&gt;This ticket is just about avoiding the type checking for the stub interface.&#160;&lt;/p&gt;</comment>
                            <comment id="5771805" author="maddie.zechar" created="Wed, 11 Oct 2023 20:52:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alyssa.wagenmaker%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;alyssa.wagenmaker@mongodb.com&quot;&gt;alyssa.wagenmaker@mongodb.com&lt;/a&gt; &#8211; want to confirm before BF days tmrw, is the issue here that we shouldn&apos;t have stubs in production at all? Or the issue is with type checking subclasses?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2551782">SERVER-85503</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25467"><![CDATA[Query Integration]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 11 Oct 2023 20:52:53 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alyssa.clark@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-query-integration</customfieldvalue>
            <customfieldvalue>gil.alon@mongodb.com</customfieldvalue>
            <customfieldvalue>maddie.zechar@mongodb.com</customfieldvalue>
            <customfieldvalue>ted.tuckman@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2k827:</customfieldvalue>

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

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