<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:20:24 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-9434] Process exit codes should be between 0 and 255</title>
                <link>https://jira.mongodb.org/browse/SERVER-9434</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;According to the various standards governing Unix-y systems, only the low-order 8 bits of exit codes are returned to parent processes, meaning that parent processes only see exit code values between 0 and 255.&lt;/p&gt;

&lt;p&gt;Several MongoDB executables use negative numbers for error exit codes, so _exit(-3) shows up in the shell as exit code 253.&lt;/p&gt;

&lt;p&gt;Windows does not follow this convention, so _exit(-3) shows an exit code of -3.&lt;/p&gt;

&lt;p&gt;It would enhance cross-platform compatibility and assist documentation if exit codes were restricted to values that will work on all platforms.&lt;/p&gt;</description>
                <environment>Affects all platforms; most visible as a difference between Windows and UNIX-style OSes</environment>
        <key id="72727">SERVER-9434</key>
            <summary>Process exit codes should be between 0 and 255</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="matt.kneiser@mongodb.com">Matt Kneiser</assignee>
                                    <reporter username="tad">Tad Marshall</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Apr 2013 06:55:14 +0000</created>
                <updated>Thu, 14 Jul 2022 20:10:21 +0000</updated>
                            <resolved>Thu, 7 Jul 2022 20:01:25 +0000</resolved>
                                                    <fixVersion>6.1.0-rc0</fixVersion>
                                    <component>Admin</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="4678253" author="xgen-internal-githook" created="Thu, 14 Jul 2022 00:51:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9434&quot; title=&quot;Process exit codes should be between 0 and 255&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9434&quot;&gt;&lt;del&gt;SERVER-9434&lt;/del&gt;&lt;/a&gt; fix embedded sdk compile&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ec5c58f99766c4919857e73ec2f3d54aeed0b7fd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ec5c58f99766c4919857e73ec2f3d54aeed0b7fd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4664331" author="xgen-internal-githook" created="Thu, 7 Jul 2022 18:26:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Kneiser&apos;, &apos;email&apos;: &apos;matt.kneiser@mongodb.com&apos;, &apos;username&apos;: &apos;themattman&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9434&quot; title=&quot;Process exit codes should be between 0 and 255&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9434&quot;&gt;&lt;del&gt;SERVER-9434&lt;/del&gt;&lt;/a&gt; Audit and Normalize Process Exit Codes&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Put all references to ExitCode enumerators under an enum class to namespace&lt;br/&gt;
  all the enumerators and avoid polluting the mongo namespace with possible&lt;br/&gt;
  naming collisions.&lt;/li&gt;
	&lt;li&gt;Added magic-number exit codes to exit_code.h like 50 &amp;amp; 51&lt;br/&gt;
  (LauncherMiddleError &amp;amp; LauncherError respectively).&lt;/li&gt;
	&lt;li&gt;Reserved a range of exit codes to account for FreeBSD&apos;s usage of 64-78.&lt;/li&gt;
	&lt;li&gt;Renamed all enums with removal of EXIT_ which could conflict or get confused&lt;br/&gt;
  with built-in macros.&lt;/li&gt;
	&lt;li&gt;camelCased all ExitCode enum values.&lt;/li&gt;
	&lt;li&gt;Added the generic - ExitCode::fail - for returning 1 as failure.&lt;/li&gt;
	&lt;li&gt;Added explicit dependency on the exit_code.h header for all files using&lt;br/&gt;
  ExitCode&apos;s.&lt;/li&gt;
	&lt;li&gt;Removed all references to implementation-defined exit codes like EXIT_FAILURE&lt;br/&gt;
  and EXIT_SUCCESS.&lt;/li&gt;
	&lt;li&gt;Narrowed return values of the shell&apos;s undocumented quit() argument to portable&lt;br/&gt;
  values within 0-255, 0/ExitCode::clean otherwise.&lt;/li&gt;
	&lt;li&gt;Deprecated 8 unused ExitCode&apos;s&lt;/li&gt;
	&lt;li&gt;java&lt;/li&gt;
	&lt;li&gt;oomMalloc&lt;/li&gt;
	&lt;li&gt;oomRealloc&lt;/li&gt;
	&lt;li&gt;fs&lt;/li&gt;
	&lt;li&gt;clockSkew&lt;/li&gt;
	&lt;li&gt;windowsServiceStop&lt;/li&gt;
	&lt;li&gt;possibleCorruption&lt;/li&gt;
	&lt;li&gt;test&lt;/li&gt;
	&lt;li&gt;Wrapped the 2 Windows-only ExitCode&apos;s in #ifdef&apos;s&lt;/li&gt;
	&lt;li&gt;ntServiceError&lt;/li&gt;
	&lt;li&gt;windowsServiceStop&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c44db4ac9d0c4c368835dac9f2fbd5869d885f17&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c44db4ac9d0c4c368835dac9f2fbd5869d885f17&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4664329" author="xgen-internal-githook" created="Thu, 7 Jul 2022 18:26:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Kneiser&apos;, &apos;email&apos;: &apos;matt.kneiser@mongodb.com&apos;, &apos;username&apos;: &apos;themattman&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9434&quot; title=&quot;Process exit codes should be between 0 and 255&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9434&quot;&gt;&lt;del&gt;SERVER-9434&lt;/del&gt;&lt;/a&gt; Audit and Normalize Process Exit Codes&lt;/p&gt;

&lt;p&gt;Propagates new `ExitCode` convention to the Enterprise module&lt;br/&gt;
and replaces negative return codes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/148c46aa88ab278539ec34ee48636491d3a312db&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/148c46aa88ab278539ec34ee48636491d3a312db&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="319812" author="eliot" created="Tue, 23 Apr 2013 19:41:29 +0000"  >&lt;p&gt;should make it such that the *nix return codes do not change&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="2085161">DOCS-15473</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31565">SERVER-5098</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>4.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="10012"><![CDATA[Major Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 23 Apr 2013 19:41:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 30 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Need to update this user-facing page:&lt;br/&gt;
&lt;a href=&quot;https://www.mongodb.com/docs/master/reference/exit-codes/&quot;&gt;https://www.mongodb.com/docs/master/reference/exit-codes/&lt;/a&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[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>benety.goh@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 30 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>70.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>matt.kneiser@mongodb.com</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmw3r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0gdrh:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5017</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="6030">Execution Team 2022-06-27</customfieldvalue>
    <customfieldvalue id="6038">Execution Team 2022-07-11</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16944"><![CDATA[Docs]]></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|ht0oqn:</customfieldvalue>

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