<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:18:56 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-49104] Futurize ServiceStateMachine transitions</title>
                <link>https://jira.mongodb.org/browse/SERVER-49104</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;ServiceStateMachine currently dispatches and schedules through a central function &lt;a href=&quot;https://github.com/mongodb/mongo/blob/07169364c2aece0fb99f4a97b796196edb033efa/src/mongo/transport/service_state_machine.cpp#L541-L625&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. We should convert it to a future chain with four callbacks:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Source (or skip if exhaust)&lt;/li&gt;
	&lt;li&gt;Process a.k.a. Parse and handle&lt;/li&gt;
	&lt;li&gt;Sink (or skip if moreToCome)&lt;/li&gt;
	&lt;li&gt;Cleanup and Poll&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This will make maintaining this code easier and it also allows us to do future continuations in any of these callbacks. For source and sink steps, they are already futurized via the SessionASIO. For the process step, we can convert ServiceEntryPoint::handleRequest() to return a Future&amp;lt;DbResponse&amp;gt; instead of a DbResponse. This means that command responses that would block on thread can now be fully asynchronous instead. It also means that if a request should be processed on a dedicated thread, we can schedule onto the right executor and return a future that runs inline on it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1392355">SERVER-49104</key>
            <summary>Futurize ServiceStateMachine transitions</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="a.chen@mongodb.com">Andrew Chen</assignee>
                                    <reporter username="ben.caimano@mongodb.com">Benjamin Caimano</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Jun 2020 17:42:44 +0000</created>
                <updated>Sun, 29 Oct 2023 22:06:30 +0000</updated>
                            <resolved>Fri, 7 Aug 2020 01:59:46 +0000</resolved>
                                                    <fixVersion>4.7.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3391488" author="xgen-internal-githook" created="Mon, 14 Sep 2020 04:57:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ben Caimano&apos;, &apos;email&apos;: &apos;ben.caimano@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50867&quot; title=&quot;Roll back ServiceStateMachine changes temporarily&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50867&quot;&gt;&lt;del&gt;SERVER-50867&lt;/del&gt;&lt;/a&gt; Roll back ServiceStateMachine changes temporarily&lt;/p&gt;

&lt;p&gt;This reverts these commits:&lt;br/&gt;
b039b24746e1d1fb10a32e1ca4831423c01d4cd7: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48980&quot; title=&quot;Associate ServiceExecutors with Clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48980&quot;&gt;&lt;del&gt;SERVER-48980&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
97e16187ff3065d242a61a52e7b6edd4d439fb30: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49072&quot; title=&quot;Make ServiceExecutors into Decorations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49072&quot;&gt;&lt;del&gt;SERVER-49072&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
0607a6c291bf4cf4580a4444d826ed3c3ac3df47: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49104&quot; title=&quot;Futurize ServiceStateMachine transitions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49104&quot;&gt;&lt;del&gt;SERVER-49104&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/827a25eb01bc5ddf766b3a543ef0ba5112953e1b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/827a25eb01bc5ddf766b3a543ef0ba5112953e1b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3391470" author="xgen-internal-githook" created="Mon, 14 Sep 2020 04:06:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ben Caimano&apos;, &apos;email&apos;: &apos;ben.caimano@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50867&quot; title=&quot;Roll back ServiceStateMachine changes temporarily&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50867&quot;&gt;&lt;del&gt;SERVER-50867&lt;/del&gt;&lt;/a&gt; Roll back ServiceStateMachine changes temporarily&lt;/p&gt;

&lt;p&gt;This reverts these commits:&lt;br/&gt;
b039b24746e1d1fb10a32e1ca4831423c01d4cd7: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48980&quot; title=&quot;Associate ServiceExecutors with Clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48980&quot;&gt;&lt;del&gt;SERVER-48980&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
97e16187ff3065d242a61a52e7b6edd4d439fb30: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49072&quot; title=&quot;Make ServiceExecutors into Decorations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49072&quot;&gt;&lt;del&gt;SERVER-49072&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
0607a6c291bf4cf4580a4444d826ed3c3ac3df47: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49104&quot; title=&quot;Futurize ServiceStateMachine transitions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49104&quot;&gt;&lt;del&gt;SERVER-49104&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: fixed_thread_pool_handshaking&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/575f370475bd31fc457a93a776061f1b80448028&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/575f370475bd31fc457a93a776061f1b80448028&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3325739" author="xgen-internal-githook" created="Thu, 6 Aug 2020 23:14:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Chen&apos;, &apos;email&apos;: &apos;a.chen@mongodb.com&apos;, &apos;username&apos;: &apos;AndrooTheChen&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49104&quot; title=&quot;Futurize ServiceStateMachine transitions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49104&quot;&gt;&lt;del&gt;SERVER-49104&lt;/del&gt;&lt;/a&gt; Futurize Service State Machine&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0607a6c291bf4cf4580a4444d826ed3c3ac3df47&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0607a6c291bf4cf4580a4444d826ed3c3ac3df47&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1384198">SERVER-48978</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1433077">SERVER-50141</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1469916">SERVER-50867</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>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>Thu, 6 Aug 2020 14:04:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 21 weeks, 3 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-48978'>SERVER-48978</a></s>]]></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-1704</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>
                            3 years, 21 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>a.chen@mongodb.com</customfieldvalue>
            <customfieldvalue>ben.caimano@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxrxhj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxewhr:</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="4132">Service Arch 2020-07-27</customfieldvalue>
    <customfieldvalue id="4133">Service Arch 2020-08-10</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|hxrjqv:</customfieldvalue>

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