<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:24:19 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-30580] Unify implementations of Status and DBException</title>
                <link>https://jira.mongodb.org/browse/SERVER-30580</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This is prep work for a larger improvement to our error handling code. This ticket covers:&lt;/p&gt;


&lt;ul&gt;
	&lt;li&gt;Removing location() from status and the _shard member from DBException, so that they logically hold the same data&lt;/li&gt;
	&lt;li&gt;Make DBException hold a Status and kill off the ExceptionInfo type&lt;/li&gt;
	&lt;li&gt;Make log() &amp;lt;&amp;lt; ErrorCodes::SomeError use the name of the error&lt;br/&gt;
rather than the number&lt;/li&gt;
	&lt;li&gt;Make argument order consistently code then message&lt;/li&gt;
	&lt;li&gt;Flatten class hierarchy to eliminate MsgAssertionException and UserException into AssertionException. All other&lt;br/&gt;
types will remain, as will the various assert macros which will now&lt;br/&gt;
just throw AssertionException. The difference between massert vs uassert will&lt;br/&gt;
now just that massert logs.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="414729">SERVER-30580</key>
            <summary>Unify implementations of Status and DBException</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Aug 2017 21:42:20 +0000</created>
                <updated>Mon, 30 Oct 2023 23:14:29 +0000</updated>
                            <resolved>Wed, 16 Aug 2017 21:00:27 +0000</resolved>
                                                    <fixVersion>3.5.12</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1649959" author="xgen-internal-githook" created="Wed, 16 Aug 2017 20:43:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;RedBeard0531&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30580&quot; title=&quot;Unify implementations of Status and DBException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30580&quot;&gt;&lt;del&gt;SERVER-30580&lt;/del&gt;&lt;/a&gt; Always use errorString() when streaming an ErrorCode::Error&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fe72cc35ff8af7bf421d29c668e4d50c048d141b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fe72cc35ff8af7bf421d29c668e4d50c048d141b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649958" author="xgen-internal-githook" created="Wed, 16 Aug 2017 20:43:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;RedBeard0531&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30580&quot; title=&quot;Unify implementations of Status and DBException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30580&quot;&gt;&lt;del&gt;SERVER-30580&lt;/del&gt;&lt;/a&gt; StringData-ify error handling functions&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/dee1c5c4bf9d15d8ee7138130ad097a4ee7e523b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/dee1c5c4bf9d15d8ee7138130ad097a4ee7e523b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649957" author="xgen-internal-githook" created="Wed, 16 Aug 2017 20:43:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;RedBeard0531&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30580&quot; title=&quot;Unify implementations of Status and DBException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30580&quot;&gt;&lt;del&gt;SERVER-30580&lt;/del&gt;&lt;/a&gt; Eliminate UserException and MsgAssertionException types&lt;/p&gt;

&lt;p&gt;All users were converted to just use AssertionException.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/347935f7a5d0452146b1a73ad7ef9e249eaf1fb5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/347935f7a5d0452146b1a73ad7ef9e249eaf1fb5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649956" author="xgen-internal-githook" created="Wed, 16 Aug 2017 20:43:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;RedBeard0531&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30580&quot; title=&quot;Unify implementations of Status and DBException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30580&quot;&gt;&lt;del&gt;SERVER-30580&lt;/del&gt;&lt;/a&gt; Make argument order consistently code then message&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cdf7aacb213c99d3ce620761ff46b030bbd7732d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cdf7aacb213c99d3ce620761ff46b030bbd7732d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649955" author="xgen-internal-githook" created="Wed, 16 Aug 2017 20:43:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;RedBeard0531&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30580&quot; title=&quot;Unify implementations of Status and DBException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30580&quot;&gt;&lt;del&gt;SERVER-30580&lt;/del&gt;&lt;/a&gt; Eliminate DBException::getCode() in favor of code()&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5a1b0681dcee481f631dc647000b895e20cc7cfd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5a1b0681dcee481f631dc647000b895e20cc7cfd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649954" author="xgen-internal-githook" created="Wed, 16 Aug 2017 20:43:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;RedBeard0531&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30580&quot; title=&quot;Unify implementations of Status and DBException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30580&quot;&gt;&lt;del&gt;SERVER-30580&lt;/del&gt;&lt;/a&gt; Make DBException hold a Status&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c593ea7bb9815ced064ad8aa7ffa206fa94757c4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c593ea7bb9815ced064ad8aa7ffa206fa94757c4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649953" author="xgen-internal-githook" created="Wed, 16 Aug 2017 20:43:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;RedBeard0531&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30580&quot; title=&quot;Unify implementations of Status and DBException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30580&quot;&gt;&lt;del&gt;SERVER-30580&lt;/del&gt;&lt;/a&gt; No more status locations&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/40036f67d0c15e2cd319e82f8c6a1e691fb74806&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/40036f67d0c15e2cd319e82f8c6a1e691fb74806&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649952" author="xgen-internal-githook" created="Wed, 16 Aug 2017 20:43:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;RedBeard0531&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30580&quot; title=&quot;Unify implementations of Status and DBException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30580&quot;&gt;&lt;del&gt;SERVER-30580&lt;/del&gt;&lt;/a&gt; Remove DBException::_shard member&lt;/p&gt;

&lt;p&gt;It was only used for a very old form of error reporting which may already be&lt;br/&gt;
dead code.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/53a9b329fbf1a6d8b620fee2cbb2ef1c27ddd3f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/53a9b329fbf1a6d8b620fee2cbb2ef1c27ddd3f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649949" author="xgen-internal-githook" created="Wed, 16 Aug 2017 20:42:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;RedBeard0531&apos;, &apos;email&apos;: &apos;redbeard0531@gmail.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30580&quot; title=&quot;Unify implementations of Status and DBException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30580&quot;&gt;&lt;del&gt;SERVER-30580&lt;/del&gt;&lt;/a&gt; Enterprise fixes for Status/DBException unification&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/dd4b319cfb2f831d6dc56313a9776f03a1c6d7e7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/dd4b319cfb2f831d6dc56313a9776f03a1c6d7e7&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="407491">SERVER-30279</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </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_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, 16 Aug 2017 20:42:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 26 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-864</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>
                            6 years, 26 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht4go7:</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="1769">Repl 2017-08-21</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|htcb3r:</customfieldvalue>

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