<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:14:40 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-69868] Return an error when starting a `TransportLayer` that is shutdown</title>
                <link>https://jira.mongodb.org/browse/SERVER-69868</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The interface for &lt;tt&gt;TransportLayer::start&lt;/tt&gt; is designed to return a &lt;tt&gt;Status&lt;/tt&gt;, however, &lt;tt&gt;TransportLayerASIO&lt;/tt&gt; internally uses an &lt;tt&gt;invariant&lt;/tt&gt; to verify that the instance of &lt;tt&gt;TransportLayer&lt;/tt&gt; is not shutdown: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/6f450a3cea6287612329f44e90536d72fe7c16c5/src/mongo/transport/transport_layer_asio.cpp#L1371&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/6f450a3cea6287612329f44e90536d72fe7c16c5/src/mongo/transport/transport_layer_asio.cpp#L1371&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;This can cause an unnecessary server-crash if the main thread attempts to start the &lt;tt&gt;TransportLayer&lt;/tt&gt; after a shutdown is initiated.&lt;/p&gt;

&lt;p&gt;A possible solution to fix this issue is to return a shutdown error and properly handle this non-okay &lt;tt&gt;Status&lt;/tt&gt; at the initialization site, thus, avoid crashing the server when shutdown is in progress.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2142598">SERVER-69868</key>
            <summary>Return an error when starting a `TransportLayer` that is shutdown</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="celina.tala@mongodb.com">Celina Tala</assignee>
                                    <reporter username="amirsaman.memaripour@mongodb.com">Amirsaman Memaripour</reporter>
                        <labels>
                            <label>new-eng</label>
                            <label>save-for-celina</label>
                    </labels>
                <created>Wed, 21 Sep 2022 17:12:55 +0000</created>
                <updated>Sun, 29 Oct 2023 21:32:59 +0000</updated>
                            <resolved>Thu, 6 Oct 2022 15:51:54 +0000</resolved>
                                                    <fixVersion>6.1.1</fixVersion>
                    <fixVersion>4.4.18</fixVersion>
                    <fixVersion>5.0.14</fixVersion>
                    <fixVersion>6.0.3</fixVersion>
                    <fixVersion>6.2.0-rc0</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4945536" author="xgen-internal-githook" created="Tue, 1 Nov 2022 18:55:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Celina Tala&apos;, &apos;email&apos;: &apos;celinahtala@gmail.com&apos;, &apos;username&apos;: &apos;celinatala-1&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69868&quot; title=&quot;Return an error when starting a `TransportLayer` that is shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69868&quot;&gt;&lt;del&gt;SERVER-69868&lt;/del&gt;&lt;/a&gt; Return ShutdownStatus When Starting a Shutdown `TransportLayer`&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 29006706c176ca036120d1b2569c0f59dd8f53b6)&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a170f2d160c42a7e7af48de775c97a693880fc1c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a170f2d160c42a7e7af48de775c97a693880fc1c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4945390" author="xgen-internal-githook" created="Tue, 1 Nov 2022 18:21:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Celina Tala&apos;, &apos;email&apos;: &apos;celinahtala@gmail.com&apos;, &apos;username&apos;: &apos;celinatala-1&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69868&quot; title=&quot;Return an error when starting a `TransportLayer` that is shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69868&quot;&gt;&lt;del&gt;SERVER-69868&lt;/del&gt;&lt;/a&gt; Return ShutdownStatus When Starting a Shutdown `TransportLayer`&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 29006706c176ca036120d1b2569c0f59dd8f53b6)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8ed32b5c2c68ebe7f8ae2ebe8d23f36037a17dea&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8ed32b5c2c68ebe7f8ae2ebe8d23f36037a17dea&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4940577" author="xgen-internal-githook" created="Mon, 31 Oct 2022 16:07:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Celina Tala&apos;, &apos;email&apos;: &apos;celinahtala@gmail.com&apos;, &apos;username&apos;: &apos;celinatala-1&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69868&quot; title=&quot;Return an error when starting a `TransportLayer` that is shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69868&quot;&gt;&lt;del&gt;SERVER-69868&lt;/del&gt;&lt;/a&gt; Return ShutdownStatus When Starting a Shutdown `TransportLayer`&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 29006706c176ca036120d1b2569c0f59dd8f53b6)&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/98294fb90ae6b70224d7b96ecb86807fddf9b459&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/98294fb90ae6b70224d7b96ecb86807fddf9b459&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4940344" author="xgen-internal-githook" created="Mon, 31 Oct 2022 16:03:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Celina Tala&apos;, &apos;email&apos;: &apos;celinahtala@gmail.com&apos;, &apos;username&apos;: &apos;celinatala-1&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69868&quot; title=&quot;Return an error when starting a `TransportLayer` that is shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69868&quot;&gt;&lt;del&gt;SERVER-69868&lt;/del&gt;&lt;/a&gt; Return ShutdownStatus When Starting a Shutdown `TransportLayer`&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 29006706c176ca036120d1b2569c0f59dd8f53b6)&lt;br/&gt;
Branch: v6.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/793987870066916318c87b6a082ef2aceb9a5c3b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/793987870066916318c87b6a082ef2aceb9a5c3b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4882873" author="xgen-internal-githook" created="Thu, 6 Oct 2022 14:38:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Celina Tala&apos;, &apos;email&apos;: &apos;celinahtala@gmail.com&apos;, &apos;username&apos;: &apos;celinatala-1&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69868&quot; title=&quot;Return an error when starting a `TransportLayer` that is shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69868&quot;&gt;&lt;del&gt;SERVER-69868&lt;/del&gt;&lt;/a&gt; Return ShutdownStatus When Starting a Shutdown `TransportLayer`&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/29006706c176ca036120d1b2569c0f59dd8f53b6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/29006706c176ca036120d1b2569c0f59dd8f53b6&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <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>5.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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="24444"><![CDATA[v6.1]]></customfieldvalue>
    <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.4]]></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, 5 Oct 2022 17:22:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 14 weeks, 1 day 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_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>
                            1 year, 14 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>amirsaman.memaripour@mongodb.com</customfieldvalue>
            <customfieldvalue>celina.tala@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|i1b8z3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0ty5c:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="6575">Service Arch 2022-10-17</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|i1av4f:</customfieldvalue>

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