<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:32: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-33245] mr.cpp can throw in an ON_BLOCK_EXIT handler when there&apos;s already an active exception</title>
                <link>https://jira.mongodb.org/browse/SERVER-33245</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We&apos;ve seen this happen in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/commands/mr.cpp#L1433&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this particular ON_BLOCK_EXIT&lt;/a&gt;, but there may be other spots in this file as well. In one observed failure, there is an initial exception being thrown during the command execution within a try/catch, and the subsequent ON_BLOCK_EXIT method throws again which results in two active exceptions.  Certainly the server shouldn&apos;t crash but there&apos;s no obvious way to remove the temp collection now that the node is no longer the primary. &lt;/p&gt;</description>
                <environment></environment>
        <key id="495965">SERVER-33245</key>
            <summary>mr.cpp can throw in an ON_BLOCK_EXIT handler when there&apos;s already an active exception</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="13201">Fixed</resolution>
                                        <assignee username="benety.goh@mongodb.com">Benety Goh</assignee>
                                    <reporter username="nicholas.zolnierz@mongodb.com">Nicholas Zolnierz</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Feb 2018 21:04:29 +0000</created>
                <updated>Sun, 29 Oct 2023 22:34:52 +0000</updated>
                            <resolved>Thu, 22 Feb 2018 21:02:37 +0000</resolved>
                                                    <fixVersion>3.6.7</fixVersion>
                    <fixVersion>3.7.3</fixVersion>
                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1966680" author="xgen-internal-githook" created="Fri, 3 Aug 2018 19:53:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;benety&apos;, &apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33245&quot; title=&quot;mr.cpp can throw in an ON_BLOCK_EXIT handler when there&amp;#39;s already an active exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33245&quot;&gt;&lt;del&gt;SERVER-33245&lt;/del&gt;&lt;/a&gt; add unit test for primary step down during mapReduce&lt;/p&gt;

&lt;p&gt;(cherry picked from commit c0480b762f7b155ca0a06921acf99fc31859ea85)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c8832428acc6804d0c23645e6026cd4d413da6be&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c8832428acc6804d0c23645e6026cd4d413da6be&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1966584" author="xgen-internal-githook" created="Fri, 3 Aug 2018 18:37:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;benety&apos;, &apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33245&quot; title=&quot;mr.cpp can throw in an ON_BLOCK_EXIT handler when there&amp;#39;s already an active exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33245&quot;&gt;&lt;del&gt;SERVER-33245&lt;/del&gt;&lt;/a&gt; remove unnecessary ScopeGuard for dropTempCollections() from mapReduce&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d4c4f81b7695c394dcb353be55d33a2c523518af)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2b5a3a10c1ddf159d35fe05a739f2b20416c249c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2b5a3a10c1ddf159d35fe05a739f2b20416c249c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1966431" author="xgen-internal-githook" created="Fri, 3 Aug 2018 16:51:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;benety&apos;, &apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33245&quot; title=&quot;mr.cpp can throw in an ON_BLOCK_EXIT handler when there&amp;#39;s already an active exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33245&quot;&gt;&lt;del&gt;SERVER-33245&lt;/del&gt;&lt;/a&gt; propagate Database::dropCollection() errors when dropping temporary colleciton and incLong in mapReduce&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 4af395056581dd6222ae301419ff5ad8b1ba1e17)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/71d343f33c56cd11bab52062251a86a9b974d9b2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/71d343f33c56cd11bab52062251a86a9b974d9b2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1965025" author="xgen-internal-githook" created="Fri, 3 Aug 2018 15:35:41 +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-33245&quot; title=&quot;mr.cpp can throw in an ON_BLOCK_EXIT handler when there&amp;#39;s already an active exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33245&quot;&gt;&lt;del&gt;SERVER-33245&lt;/del&gt;&lt;/a&gt; improve PrimarySteppedDown and State destructor error messages in mapReduce&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 0628b8ee3ce53f7263393ed2112ef79d6b32bcba)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/27216e9d263cea22829edf8ff6d859c914641836&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/27216e9d263cea22829edf8ff6d859c914641836&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1813478" author="xgen-internal-githook" created="Thu, 22 Feb 2018 21:01:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;name&apos;: &apos;Benety Goh&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33245&quot; title=&quot;mr.cpp can throw in an ON_BLOCK_EXIT handler when there&amp;#39;s already an active exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33245&quot;&gt;&lt;del&gt;SERVER-33245&lt;/del&gt;&lt;/a&gt; add unit test for primary step down during mapReduce&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c0480b762f7b155ca0a06921acf99fc31859ea85&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c0480b762f7b155ca0a06921acf99fc31859ea85&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1808818" author="xgen-internal-githook" created="Sat, 17 Feb 2018 16:41:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;name&apos;: &apos;Benety Goh&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33245&quot; title=&quot;mr.cpp can throw in an ON_BLOCK_EXIT handler when there&amp;#39;s already an active exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33245&quot;&gt;&lt;del&gt;SERVER-33245&lt;/del&gt;&lt;/a&gt; remove unnecessary ScopeGuard for dropTempCollections() from mapReduce&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d4c4f81b7695c394dcb353be55d33a2c523518af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d4c4f81b7695c394dcb353be55d33a2c523518af&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1808802" author="xgen-internal-githook" created="Sat, 17 Feb 2018 14:21:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;name&apos;: &apos;Benety Goh&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33245&quot; title=&quot;mr.cpp can throw in an ON_BLOCK_EXIT handler when there&amp;#39;s already an active exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33245&quot;&gt;&lt;del&gt;SERVER-33245&lt;/del&gt;&lt;/a&gt; propagate Database::dropCollection() errors when dropping temporary colleciton and incLong in mapReduce&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4af395056581dd6222ae301419ff5ad8b1ba1e17&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4af395056581dd6222ae301419ff5ad8b1ba1e17&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1808634" author="xgen-internal-githook" created="Fri, 16 Feb 2018 22:51:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;name&apos;: &apos;Benety Goh&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33245&quot; title=&quot;mr.cpp can throw in an ON_BLOCK_EXIT handler when there&amp;#39;s already an active exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33245&quot;&gt;&lt;del&gt;SERVER-33245&lt;/del&gt;&lt;/a&gt; improve PrimarySteppedDown and State destructor error messages in mapReduce&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0628b8ee3ce53f7263393ed2112ef79d6b32bcba&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0628b8ee3ce53f7263393ed2112ef79d6b32bcba&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1808272" author="charlie.swanson" created="Fri, 16 Feb 2018 18:11:27 +0000"  >&lt;p&gt;Looks like this happened at least one other time, throwing back in &apos;Needs Triage&apos; for re-evaluation.&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>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="563056">SERVER-35749</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="563636">SERVER-35772</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>9.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="15141"><![CDATA[v3.6]]></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, 16 Feb 2018 18:11:27 +0000</customfieldvalue>

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

                        </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>benety.goh@mongodb.com</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>nicholas.zolnierz@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htq27b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hra19b:</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="2146">Repl 2018-02-26</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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htpocf:</customfieldvalue>

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