<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:04:47 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-23902] Failing to create a thread should fail with a useful error message</title>
                <link>https://jira.mongodb.org/browse/SERVER-23902</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Wherever we create a stdx::thread, we should catch any exceptions and print them with some useful information. Right now they just don&apos;t get caught (except in the listener), and can cause confusing crashes with just a backtrace and no error message (see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23793&quot; title=&quot;core dump on mongod&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23793&quot;&gt;&lt;del&gt;SERVER-23793&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</description>
                <environment></environment>
        <key id="282151">SERVER-23902</key>
            <summary>Failing to create a thread should fail with a useful error message</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="9">Done</resolution>
                                        <assignee username="mira.carey@mongodb.com">Mira Carey</assignee>
                                    <reporter username="jonathan.reams@mongodb.com">Jonathan Reams</reporter>
                        <labels>
                            <label>code-only</label>
                    </labels>
                <created>Mon, 25 Apr 2016 14:36:40 +0000</created>
                <updated>Mon, 8 Jan 2024 15:22:59 +0000</updated>
                            <resolved>Wed, 20 Jul 2016 12:36:50 +0000</resolved>
                                                    <fixVersion>3.2.9</fixVersion>
                    <fixVersion>3.3.8</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="1329095" author="xgen-internal-githook" created="Tue, 19 Jul 2016 22:33:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;hanumantmk&apos;, u&apos;name&apos;: u&apos;Jason Carey&apos;, u&apos;email&apos;: u&apos;jcarey@argv.me&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23902&quot; title=&quot;Failing to create a thread should fail with a useful error message&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23902&quot;&gt;&lt;del&gt;SERVER-23902&lt;/del&gt;&lt;/a&gt; non-throwing stdx::thread&lt;/p&gt;

&lt;p&gt;Instead of aliasing std::thread for stdx::thread, we wrap std::thread in an api compatible version&lt;br/&gt;
which std::terminates if std::thread&apos;s constructor throws.&lt;/p&gt;

&lt;p&gt;Given that we don&apos;t have a good strategy for re-trying thread creation failures, this improves our&lt;br/&gt;
stack traces, as we can see which part of the code failed to create a thread, rather than getting a&lt;br/&gt;
generic error at the top of the stack.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 0b5cbbadf49da830f20fba6e779b7278f211e394)&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/93ef827c92e0acdb3bd0b6fbe6e85fe7f5e1c489&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/93ef827c92e0acdb3bd0b6fbe6e85fe7f5e1c489&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1323308" author="xgen-internal-githook" created="Wed, 13 Jul 2016 21:19:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;hanumantmk&apos;, u&apos;name&apos;: u&apos;Jason Carey&apos;, u&apos;email&apos;: u&apos;jcarey@argv.me&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23902&quot; title=&quot;Failing to create a thread should fail with a useful error message&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23902&quot;&gt;&lt;del&gt;SERVER-23902&lt;/del&gt;&lt;/a&gt; non-throwing stdx::thread&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 2c330bf540cc4cc4924c0f048cd5f8b21406653c.&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/25555416f020dd68f9b8107acc5a24e2d3eee163&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/25555416f020dd68f9b8107acc5a24e2d3eee163&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1323102" author="xgen-internal-githook" created="Wed, 13 Jul 2016 18:49:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;hanumantmk&apos;, u&apos;name&apos;: u&apos;Jason Carey&apos;, u&apos;email&apos;: u&apos;jcarey@argv.me&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23902&quot; title=&quot;Failing to create a thread should fail with a useful error message&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23902&quot;&gt;&lt;del&gt;SERVER-23902&lt;/del&gt;&lt;/a&gt; non-throwing stdx::thread&lt;/p&gt;

&lt;p&gt;Instead of aliasing std::thread for stdx::thread, we wrap std::thread in&lt;br/&gt;
an api compatible version which std::terminates if std::thread&apos;s&lt;br/&gt;
constructor throws.  Given that we don&apos;t have a good strategy for&lt;br/&gt;
re-trying thread creation failures, this improves our stack traces, as&lt;br/&gt;
we can see which part of the code failed to create a thread, rather than&lt;br/&gt;
getting a generic error at the top of the stack.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 0b5cbbadf49da830f20fba6e779b7278f211e394)&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2c330bf540cc4cc4924c0f048cd5f8b21406653c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2c330bf540cc4cc4924c0f048cd5f8b21406653c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1283623" author="jason.carey" created="Fri, 3 Jun 2016 16:16:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ramon.fernandez&quot; class=&quot;user-hover&quot; rel=&quot;ramon.fernandez&quot;&gt;ramon.fernandez&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;This improves diagnostics for systems reaching thread exhaustion and the impetus was to improve debuggability for support.  I think we should consider it for a backport.&lt;/p&gt;</comment>
                            <comment id="1283616" author="xgen-internal-githook" created="Fri, 3 Jun 2016 16:13:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;hanumantmk&apos;, u&apos;name&apos;: u&apos;Jason Carey&apos;, u&apos;email&apos;: u&apos;jcarey@argv.me&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23902&quot; title=&quot;Failing to create a thread should fail with a useful error message&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23902&quot;&gt;&lt;del&gt;SERVER-23902&lt;/del&gt;&lt;/a&gt; non-throwing stdx::thread&lt;/p&gt;

&lt;p&gt;Instead of aliasing std::thread for stdx::thread, we wrap std::thread in&lt;br/&gt;
an api compatible version which std::terminates if std::thread&apos;s&lt;br/&gt;
constructor throws.  Given that we don&apos;t have a good strategy for&lt;br/&gt;
re-trying thread creation failures, this improves our stack traces, as&lt;br/&gt;
we can see which part of the code failed to create a thread, rather than&lt;br/&gt;
getting a generic error at the top of the stack.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0b5cbbadf49da830f20fba6e779b7278f211e394&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0b5cbbadf49da830f20fba6e779b7278f211e394&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="275408">SERVER-23370</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="280691">SERVER-23793</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>5.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_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="17070">3.2.9</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>Fri, 20 May 2016 17:52:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 30 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_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>
                            7 years, 30 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jonathan.reams@mongodb.com</customfieldvalue>
            <customfieldvalue>mira.carey@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk9dz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsnirj:</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="1063">Platforms 15 (06/03/16)</customfieldvalue>
    <customfieldvalue id="1066">Platforms 18 (08/05/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|hsezw7:</customfieldvalue>

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