<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:29:43 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-32259] Improve error handling for fetchTypeAndSourceURI()</title>
                <link>https://jira.mongodb.org/browse/SERVER-32259</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;WiredTigerUtil::fetchTypeAndSourceURI() is using invariant(colgroupResult.isOK()) instead of invariantOK(colgroupResult).  This means if the invariant ever fires, we don&apos;t know what the bad Status actually was.&lt;/p&gt;</description>
                <environment></environment>
        <key id="470781">SERVER-32259</key>
            <summary>Improve error handling for fetchTypeAndSourceURI()</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="ian@mongodb.com">Ian Whalen</assignee>
                                    <reporter username="milkie@mongodb.com">Eric Milkie</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Mon, 11 Dec 2017 20:20:59 +0000</created>
                <updated>Mon, 30 Oct 2023 23:10:02 +0000</updated>
                            <resolved>Tue, 23 Jan 2018 21:21:48 +0000</resolved>
                                                    <fixVersion>3.6.3</fixVersion>
                    <fixVersion>3.7.2</fixVersion>
                                    <component>Storage</component>
                                        <votes>1</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1789113" author="xgen-internal-githook" created="Tue, 30 Jan 2018 15:45:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;cramaechi@me.com&apos;, &apos;name&apos;: &apos;Chibuikem Amaechi&apos;, &apos;username&apos;: &apos;cramaechi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32259&quot; title=&quot;Improve error handling for fetchTypeAndSourceURI()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32259&quot;&gt;&lt;del&gt;SERVER-32259&lt;/del&gt;&lt;/a&gt; Update wiredtiger_util.cpp&lt;/p&gt;

&lt;p&gt;WiredTigerUtil::fetchTypeAndSourceURI() is using&lt;br/&gt;
invariant(colgroupResult.isOK()) instead of&lt;br/&gt;
invariantOK(colgroupResult.getStatus()). This means that if the&lt;br/&gt;
invariant ever fires, we don&apos;t know what the bad Status actually was.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Ian Whalen &amp;lt;ian.whalen@gmail.com&amp;gt;&lt;br/&gt;
(cherry picked from commit c765de210434a6a49fa62c8c0602876fec628bfc)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/43cadf40956ddc791e7a332dc1405bb001bb05eb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/43cadf40956ddc791e7a332dc1405bb001bb05eb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1782775" author="xgen-internal-githook" created="Tue, 23 Jan 2018 21:21:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Chibuikem Amaechi&apos;, &apos;email&apos;: &apos;cramaechi@me.com&apos;, &apos;username&apos;: &apos;cramaechi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32259&quot; title=&quot;Improve error handling for fetchTypeAndSourceURI()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32259&quot;&gt;&lt;del&gt;SERVER-32259&lt;/del&gt;&lt;/a&gt; Update wiredtiger_util.cpp&lt;/p&gt;

&lt;p&gt;WiredTigerUtil::fetchTypeAndSourceURI() is using&lt;br/&gt;
invariant(colgroupResult.isOK()) instead of&lt;br/&gt;
invariantOK(colgroupResult.getStatus()). This means that if the&lt;br/&gt;
invariant ever fires, we don&apos;t know what the bad Status actually was.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Ian Whalen &amp;lt;ian.whalen@gmail.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c765de210434a6a49fa62c8c0602876fec628bfc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c765de210434a6a49fa62c8c0602876fec628bfc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1775913" author="cramaechi" created="Tue, 16 Jan 2018 23:42:53 +0000"  >&lt;p&gt;Great. I will open a pull request by the end of today!&lt;/p&gt;</comment>
                            <comment id="1775859" author="michael.cahill" created="Tue, 16 Jan 2018 22:53:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=cramaechi&quot; class=&quot;user-hover&quot; rel=&quot;cramaechi&quot;&gt;cramaechi&lt;/a&gt;, agreed, a pull request for this change would be great.  Thanks!&lt;/p&gt;</comment>
                            <comment id="1761336" author="cramaechi" created="Fri, 29 Dec 2017 11:29:37 +0000"  >&lt;p&gt;As mentioned above, &lt;tt&gt;WiredTigerUtil::fetchTypeAndSourceURI&lt;/tt&gt;() in &lt;tt&gt;mongo/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp&lt;/tt&gt; is using an overloaded legacy &lt;tt&gt;invariant&lt;/tt&gt;() that, as described by its documentation, only prints the associated condition, file name, and line number when the condition fails. But if what we want is a detailed description of the status when it is bad (i.e., the error code and a description of what caused the error), we are going to have to use &lt;tt&gt;invariantOK&lt;/tt&gt;() instead of &lt;tt&gt;invariant&lt;/tt&gt;().&lt;/p&gt;

&lt;p&gt;If everyone is in agreement, I will open a pull request.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Edit:&lt;/b&gt; &lt;br/&gt;
&lt;tt&gt;invariantOK(colgroupResult)&lt;/tt&gt; should be changed to &lt;br/&gt;
&lt;tt&gt;invariantOK(colgroupResult.getStatus())&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;Best Regards,&lt;br/&gt;
Chibuikem Amaechi&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_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, 29 Dec 2017 11:29:37 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 2 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>
                            6 years, 2 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.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>cramaechi</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>michael.cahill@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htm0g7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9kq7:</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_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|htlmkf:</customfieldvalue>

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