<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:11:20 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-6317] Make assertions behave uniformly in debug and normal builds</title>
                <link>https://jira.mongodb.org/browse/SERVER-6317</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Issue is that, since we abort on some of the assertion failure (only in DEBUG build), tests that tries to check whether an assertion is activated will fail because it aborts the mongo process instead of just throwing the AssertionException.&lt;/p&gt;</description>
                <environment></environment>
        <key id="43499">SERVER-6317</key>
            <summary>Make assertions behave uniformly in debug and normal builds</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-servicearch">Backlog - Service Architecture</assignee>
                                    <reporter username="randolph@mongodb.com">Randolph Tan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Jul 2012 22:39:54 +0000</created>
                <updated>Mon, 28 Aug 2023 15:38:27 +0000</updated>
                                            <version>2.1.2</version>
                                                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="4539825" author="steven.vannelli" created="Tue, 10 May 2022 21:25:57 +0000"  >&lt;p&gt;Moving this ticket to the Backlog and removing the &quot;Backlog&quot; fixVersion as per our latest policy for using fixVersions. &lt;/p&gt;</comment>
                            <comment id="1926320" author="acm" created="Wed, 20 Jun 2018 15:58:23 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn&quot;&gt;max.hirschhorn&lt;/a&gt; - sent it over to your team, still in needs triage.&lt;/p&gt;</comment>
                            <comment id="1926290" author="max.hirschhorn@10gen.com" created="Wed, 20 Jun 2018 15:44:03 +0000"  >&lt;p&gt;I think the TIG team can take it and send the Platforms team a code review.&lt;/p&gt;</comment>
                            <comment id="1926243" author="acm" created="Wed, 20 Jun 2018 15:33:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn&quot;&gt;max.hirschhorn&lt;/a&gt; - I&apos;m fine with that approach. Are you hoping that platforms would implement that, or is that within TIGs scope of activity, in which case I&apos;m sure platforms is willing to help with review.&lt;/p&gt;</comment>
                            <comment id="1926010" author="max.hirschhorn@10gen.com" created="Wed, 20 Jun 2018 13:46:52 +0000"  >&lt;p&gt;I think we should add &lt;tt&gt;&amp;#45;DVERIFY_IS_INVARIANT&lt;/tt&gt; and try to stand up a new build variant in Evergreen. We can probably stage it incrementally with what Evergreen tasks we run on it. For instance, we currently don&apos;t run the &lt;tt&gt;jstestfuzz*&lt;/tt&gt; Evergreen tasks against DEBUG builds because we&apos;d otherwise hit &lt;tt&gt;verify()&lt;/tt&gt; failures.&lt;/p&gt;</comment>
                            <comment id="1925094" author="acm" created="Tue, 19 Jun 2018 16:26:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn&quot;&gt;max.hirschhorn&lt;/a&gt; - I&apos;ve moved this to &apos;Needs Triage&apos; so we can discuss in our team triage meeting, but I&apos;m sort of the opinion that we should kick this back to TIG to decide which way they want this resolved - I&apos;ve shared my thoughts on the options. We can also decide to just keep on doing what we have been doing for 6 years and just close this as Won&apos;t Fix.&lt;/p&gt;</comment>
                            <comment id="1920652" author="acm" created="Thu, 14 Jun 2018 14:44:28 +0000"  >&lt;p&gt;I don&apos;t like &lt;tt&gt;verify&lt;/tt&gt; because when you see one in the code you can&apos;t know what was originally meant. Did the original author really mean &lt;tt&gt;invariant&lt;/tt&gt;, meaning that the impossible happened, but reached for the wrong tool and wrote &lt;tt&gt;verify&lt;/tt&gt;? Or did they mean &lt;tt&gt;dassert&lt;/tt&gt; but were too scared to continue in release mode, and therefore should have written something stronger? Or did they mean &lt;tt&gt;uassert&lt;/tt&gt;, in that the operation should fail, which is what happens in release mode, but they wanted tests to die? The whole thing is a mess. I think we need to commit to bulk converting all &lt;tt&gt;verify&lt;/tt&gt; calls to either &lt;tt&gt;invariant&lt;/tt&gt; or &lt;tt&gt;uassert&lt;/tt&gt;. The former choice is the aggressive one (user reachable &lt;tt&gt;verify&lt;/tt&gt; calls will now become crashes), and would destabilize things until we found the places where &lt;tt&gt;verify&lt;/tt&gt; was really supposed to mean &lt;tt&gt;uassert&lt;/tt&gt;. Moving &lt;tt&gt;verify&lt;/tt&gt; to &lt;tt&gt;uassert&lt;/tt&gt; is the conservative choice, in that there will be no new unintended crashing paths. I think the decision should lie with the TIG team as to which way to play it. Either way, we could definitely take your suggestion of standing up a build that enforces that choice, via a &lt;tt&gt;-DVERIFY_IS_INVARIANT&lt;/tt&gt; or &lt;tt&gt;-DVERIFY_IS_UASSERT&lt;/tt&gt;. Or do both and get them both green?&lt;/p&gt;</comment>
                            <comment id="1902442" author="max.hirschhorn@10gen.com" created="Sat, 26 May 2018 04:12:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=acm&quot; class=&quot;user-hover&quot; rel=&quot;acm&quot;&gt;acm&lt;/a&gt;, what would be your recommendation to convert existing &lt;tt&gt;verify()&lt;/tt&gt; calls to the appropriate &lt;tt&gt;invariant()&lt;/tt&gt; or &lt;tt&gt;uassert()&lt;/tt&gt; calls?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="43496">SERVER-6315</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="233978">SERVER-20882</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25132"><![CDATA[Service Arch]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 5 Jul 2012 23:51:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 39 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>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 39 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-servicearch</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
            <customfieldvalue>steven.vannelli@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnxaf:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4161</customfieldvalue>
                        </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|ht0u7j:</customfieldvalue>

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