<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:56:32 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-21170] NetworkInterface::startCommand should be able to reject requests due to shutdown</title>
                <link>https://jira.mongodb.org/browse/SERVER-21170</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In order to allow the ThreadPoolTaskExecutor to issue NetworkInterface::startCommand outside the executor&apos;s mutex, it is necessary that startCommand return some indication as to whether or not the network interface takes ownership of the operation.&lt;/p&gt;

&lt;p&gt;Proposed behavior:&lt;/p&gt;

&lt;p&gt;NetworkInterface::startCommand returns false if NetworkInterface::shutdown has already started, and true otherwise. If it returns true, then the onFinish argument will be executed by NetworkInterface eventually; otherwise, it will not. setAlarm should behave similarly&lt;/p&gt;

&lt;p&gt;NetworkInterface::shutdown blocks until callbacks assocated with all accepted commands and alarms have executed. It is OK (preferred?) for shutdown() to cause some or all pending callbacks to execute with a &quot;CallbackCanceled&quot; status in order to expedite shutdown.&lt;/p&gt;</description>
                <environment></environment>
        <key id="236459">SERVER-21170</key>
            <summary>NetworkInterface::startCommand should be able to reject requests due to shutdown</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="9">Done</resolution>
                                        <assignee username="waley.chen">Waley Chen</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Oct 2015 19:31:46 +0000</created>
                <updated>Tue, 26 Apr 2016 23:11:57 +0000</updated>
                            <resolved>Thu, 31 Mar 2016 01:26:58 +0000</resolved>
                                                    <fixVersion>3.3.5</fixVersion>
                                    <component>Networking</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1224309" author="xgen-internal-githook" created="Mon, 4 Apr 2016 15:19:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;WaleyChen&apos;, u&apos;name&apos;: u&apos;Waley Chen&apos;, u&apos;email&apos;: u&apos;waleycz@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21170&quot; title=&quot;NetworkInterface::startCommand should be able to reject requests due to shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21170&quot;&gt;&lt;del&gt;SERVER-21170&lt;/del&gt;&lt;/a&gt; NetworkInterface::startCommand should be able to reject requests due to shutdown&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6ee50d2d7a762d5dc9b8767e796df97e90f6d0ba&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6ee50d2d7a762d5dc9b8767e796df97e90f6d0ba&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1222580" author="xgen-internal-githook" created="Fri, 1 Apr 2016 15:26:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;WaleyChen&apos;, u&apos;name&apos;: u&apos;Waley Chen&apos;, u&apos;email&apos;: u&apos;waleycz@gmail.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21170&quot; title=&quot;NetworkInterface::startCommand should be able to reject requests due to shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21170&quot;&gt;&lt;del&gt;SERVER-21170&lt;/del&gt;&lt;/a&gt; NetworkInterface::startCommand should be able to reject requests due to shutdown&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit dfabadb09387a4236ee7675cd02d39b17affaf39.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ace59db31c5f0e12e996f2b67b61f014f20b59fd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ace59db31c5f0e12e996f2b67b61f014f20b59fd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1222579" author="xgen-internal-githook" created="Fri, 1 Apr 2016 15:26:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;WaleyChen&apos;, u&apos;name&apos;: u&apos;Waley Chen&apos;, u&apos;email&apos;: u&apos;waleycz@gmail.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21170&quot; title=&quot;NetworkInterface::startCommand should be able to reject requests due to shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21170&quot;&gt;&lt;del&gt;SERVER-21170&lt;/del&gt;&lt;/a&gt; NetworkInterface::startCommand should be able to reject requests due to shutdown&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit ada50f9f409afdccb40038b3ba182bf4e81e0490.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/66f642d25709132cb2840a42aa6adf45844c5f30&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/66f642d25709132cb2840a42aa6adf45844c5f30&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1220752" author="xgen-internal-githook" created="Thu, 31 Mar 2016 01:14:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;WaleyChen&apos;, u&apos;name&apos;: u&apos;Waley Chen&apos;, u&apos;email&apos;: u&apos;waleycz@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21170&quot; title=&quot;NetworkInterface::startCommand should be able to reject requests due to shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21170&quot;&gt;&lt;del&gt;SERVER-21170&lt;/del&gt;&lt;/a&gt; NetworkInterface::startCommand should be able to reject requests due to shutdown&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/dfabadb09387a4236ee7675cd02d39b17affaf39&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/dfabadb09387a4236ee7675cd02d39b17affaf39&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1072874" author="acm" created="Wed, 28 Oct 2015 15:45:24 +0000"  >&lt;p&gt;I&apos;m bumping this out to 3.3 required. I agree that if ThreadPooTaskExecutor already handles this that there is no work we need to do now. However, we may want to use NetworkInterfaceASIO in other contexts in the future, and I&apos;d like to ensure that it offers orderly shutdown.&lt;/p&gt;</comment>
                            <comment id="1072271" author="schwerin" created="Tue, 27 Oct 2015 22:27:21 +0000"  >&lt;p&gt;Turns out that ThreadPoolTaskExecutor engages in a safe shutdown procedure wrt this behavior. I don&apos;t think this ticket is necessary.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.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_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, 28 Oct 2015 15:45:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 45 weeks, 2 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-314</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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 45 weeks, 2 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>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>waley.chen</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkqhz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrdisv:</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="941">Platforms 12 (04/01/16)</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|hsfikf:</customfieldvalue>

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