<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:43:17 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-57985] Remove RouterExecStage::ExecContext</title>
                <link>https://jira.mongodb.org/browse/SERVER-57985</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;On mongoS, we use the &lt;tt&gt;RouterExecStage::ExecContext&lt;/tt&gt; enum to allow a tailable awaitData cursor to determine whether it should wait for further input. But on mongoD, we use the &lt;tt&gt;AwaitDataState&lt;/tt&gt; struct to perform the same task. We already &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ae4aa5dce07f140958375af424c0ce1f958d0a1d/src/mongo/s/query/cluster_find.cpp#L475-L476&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;use part of this struct on mongoS&lt;/a&gt; &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ae4aa5dce07f140958375af424c0ce1f958d0a1d/src/mongo/s/query/blocking_results_merger.cpp#L99-L100&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;to track how long we should wait&lt;/a&gt; for more input, but we do not currently use &lt;tt&gt;AwaitDataState::shouldWaitForInserts&lt;/tt&gt; to signal to the execution machinery that we should wait in the first place. There does not seem to be any reason to keep &lt;tt&gt;RouterExecStage::ExecContext&lt;/tt&gt; - which must be plumbed through the entire execution tree down to the &lt;tt&gt;BlockingResultsMerger&lt;/tt&gt; - instead of just using &lt;tt&gt;AwaitDataState::shouldWaitForInserts&lt;/tt&gt; in the same way as we do on mongoD.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1793604">SERVER-57985</key>
            <summary>Remove RouterExecStage::ExecContext</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="13201">Fixed</resolution>
                                        <assignee username="denis.grebennicov@mongodb.com">Denis Grebennicov</assignee>
                                    <reporter username="bernard.gorman@mongodb.com">Bernard Gorman</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Tue, 22 Jun 2021 19:48:54 +0000</created>
                <updated>Sun, 29 Oct 2023 21:51:45 +0000</updated>
                            <resolved>Mon, 12 Jul 2021 10:16:58 +0000</resolved>
                                                    <fixVersion>5.1.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4106725" author="JIRAUSER1259052" created="Wed, 6 Oct 2021 18:07:05 +0000"  >&lt;p&gt;Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it&#8217;s been triggered. For more active release information, please keep an eye on #server-release. Thank you!&lt;/p&gt;</comment>
                            <comment id="3927539" author="xgen-internal-githook" created="Mon, 12 Jul 2021 09:12:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Denis Grebennicov&apos;, &apos;email&apos;: &apos;denis.grebennicov@mongodb.com&apos;, &apos;username&apos;: &apos;denis631&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-57985&quot; title=&quot;Remove RouterExecStage::ExecContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-57985&quot;&gt;&lt;del&gt;SERVER-57985&lt;/del&gt;&lt;/a&gt; Remove RouterExecStage::ExecContext&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/77fb77fb8ef0139558787cb59d563bb75d3d94e1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/77fb77fb8ef0139558787cb59d563bb75d3d94e1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3892534" author="bernard.gorman" created="Tue, 22 Jun 2021 19:55:45 +0000"  >&lt;p&gt;The steps here would be something like:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Set &lt;tt&gt;awaitDataState(opCtx).shouldWaitForInserts = true&lt;/tt&gt; as well as setting &lt;tt&gt;awaitDataState(opCtx).waitForInsertsDeadline&lt;/tt&gt; &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ae4aa5dce07f140958375af424c0ce1f958d0a1d/src/mongo/s/query/cluster_find.cpp#L475-L476&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;in this piece of code&lt;/a&gt;, in the same way that &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ae4aa5dce07f140958375af424c0ce1f958d0a1d/src/mongo/db/commands/getmore_cmd.cpp#L616&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;we do on mongoD&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Similarly, switch &lt;tt&gt;shouldWaitForInserts&lt;/tt&gt; to &lt;tt&gt;false&lt;/tt&gt; &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ae4aa5dce07f140958375af424c0ce1f958d0a1d/src/mongo/s/query/cluster_find.cpp#L836&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;when we get our first result on mongoS&lt;/a&gt;, the same &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ae4aa5dce07f140958375af424c0ce1f958d0a1d/src/mongo/db/commands/getmore_cmd.cpp#L340-L341&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;as on mongoD&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Have &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ae4aa5dce07f140958375af424c0ce1f958d0a1d/src/mongo/s/query/blocking_results_merger.cpp#L91&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;BlockingResultsMerger::awaitNextWithTimeout&lt;/tt&gt;&lt;/a&gt; check &lt;tt&gt;awaitDataState(opCtx).shouldWaitForInserts&lt;/tt&gt; instead of &lt;tt&gt;execCtx&lt;/tt&gt;.&lt;/li&gt;
&lt;/ol&gt;
</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.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_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 7 Jul 2021 14:12:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 18 weeks 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2154</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>
                            2 years, 18 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bernard.gorman@mongodb.com</customfieldvalue>
            <customfieldvalue>denis.grebennicov@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>vivian.ge@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hznz3j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr35cv:</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="4709">Query Execution 2021-07-12</customfieldvalue>
    <customfieldvalue id="4711">Query Execution 2021-07-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|hznlcn:</customfieldvalue>

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