<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:35:48 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-55204] Opt in to -Wimplicit-fallthrough in src/mongo</title>
                <link>https://jira.mongodb.org/browse/SERVER-55204</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This is a very easy bug to accidentally type, and can be hard to notice in code review. There are only a handful of current violations. I haven&apos;t checked if any are bugs, but even if they aren&apos;t, it seems like it would be easier for the reader to have an explicit &lt;tt&gt;[&lt;span class=&quot;error&quot;&gt;&amp;#91;fallthrough&amp;#93;&lt;/span&gt;]&lt;/tt&gt; annotation.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1649241">SERVER-55204</key>
            <summary>Opt in to -Wimplicit-fallthrough in src/mongo</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Mar 2021 17:34:32 +0000</created>
                <updated>Sun, 29 Oct 2023 21:56:17 +0000</updated>
                            <resolved>Mon, 18 Apr 2022 17:12:24 +0000</resolved>
                                                    <fixVersion>6.1.0-rc0</fixVersion>
                                    <component>Build</component>
                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4576284" author="xgen-internal-githook" created="Thu, 26 May 2022 19:34:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Morrow&apos;, &apos;email&apos;: &apos;acm@mongodb.com&apos;, &apos;username&apos;: &apos;acmorrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-60440&quot; title=&quot;Update boost to latest stable version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-60440&quot;&gt;&lt;del&gt;SERVER-60440&lt;/del&gt;&lt;/a&gt; Upgrade boost to 1.79.0&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Reapply the fix for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46008&quot; title=&quot;logv2 shutdown use-after-dtor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46008&quot;&gt;&lt;del&gt;SERVER-46008&lt;/del&gt;&lt;/a&gt; for boost 1.79.0&lt;/li&gt;
	&lt;li&gt;Reapply the slist fix from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44079&quot; title=&quot;Upgrade Boost to 1.76.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44079&quot;&gt;&lt;del&gt;SERVER-44079&lt;/del&gt;&lt;/a&gt; to boost 1.79.0&lt;/li&gt;
	&lt;li&gt;Reapply the fix from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55204&quot; title=&quot;Opt in to -Wimplicit-fallthrough in src/mongo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55204&quot;&gt;&lt;del&gt;SERVER-55204&lt;/del&gt;&lt;/a&gt; to boost 1.79.0&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/13389dc222fc372442be8c147e09685bb9a26a3a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/13389dc222fc372442be8c147e09685bb9a26a3a&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4488609" author="JIRAUSER1257562" created="Mon, 18 Apr 2022 17:12:24 +0000"  >&lt;p&gt;Drew will announce it to the db-contribs&lt;/p&gt;</comment>
                            <comment id="4488424" author="xgen-internal-githook" created="Mon, 18 Apr 2022 16:23:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Morrow&apos;, &apos;email&apos;: &apos;acm@mongodb.com&apos;, &apos;username&apos;: &apos;acmorrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55204&quot; title=&quot;Opt in to -Wimplicit-fallthrough in src/mongo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55204&quot;&gt;&lt;del&gt;SERVER-55204&lt;/del&gt;&lt;/a&gt; Error on fallthrough unless the attribute is used&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c9c6b145e47ce97f077bc1af3d266db64e8afb65&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c9c6b145e47ce97f077bc1af3d266db64e8afb65&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4488422" author="xgen-internal-githook" created="Mon, 18 Apr 2022 16:23:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Morrow&apos;, &apos;email&apos;: &apos;acm@mongodb.com&apos;, &apos;username&apos;: &apos;acmorrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55204&quot; title=&quot;Opt in to -Wimplicit-fallthrough in src/mongo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55204&quot;&gt;&lt;del&gt;SERVER-55204&lt;/del&gt;&lt;/a&gt; Apply fallthrough attribute where required&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/81566c862b56d89d57cc668a4a06cb53cb0441ba&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/81566c862b56d89d57cc668a4a06cb53cb0441ba&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4439480" author="blake.oler" created="Mon, 28 Mar 2022 18:24:59 +0000"  >&lt;p&gt;This seems like a scons change &amp;#8211; if there are any ServiceArch related implicit fallthroughs our team needs to look at, feel free to reach out to the Service Architecture channel. Reassigning to &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=backlog-server-devplatform&quot; class=&quot;user-hover&quot; rel=&quot;backlog-server-devplatform&quot;&gt;backlog-server-devplatform&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4421909" author="redbeard0531" created="Fri, 18 Mar 2022 21:38:28 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lauren.lewis&quot; class=&quot;user-hover&quot; rel=&quot;lauren.lewis&quot;&gt;lauren.lewis&lt;/a&gt;, what sort of additional information are you looking for? This ticket is suggesting that we enable a compiler flag that can prevent easily overlooked and annoying to debug bugs. Is there some clarification needed?&lt;/p&gt;</comment>
                            <comment id="4421588" author="JIRAUSER1262719" created="Fri, 18 Mar 2022 19:26:20 +0000"  >&lt;p&gt;We haven&#8217;t heard back from you for some time, so we&apos;re going to close this ticket. If this is still an issue for you, please provide additional information and we will reopen the ticket.&lt;/p&gt;</comment>
                            <comment id="3665436" author="redbeard0531" created="Mon, 15 Mar 2021 20:47:42 +0000"  >&lt;p&gt;May want to only do this on GCC since gcc disables the warning if it sees a &lt;tt&gt;// fallthrough&lt;/tt&gt; comment (unfortunately it has to be after closing brace due to &lt;a href=&quot;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81230&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81230&lt;/a&gt;), while clang will warn unless it sees an actual &lt;tt&gt;[&lt;span class=&quot;error&quot;&gt;&amp;#91;fallthrough&amp;#93;&lt;/span&gt;]&lt;/tt&gt; (or clang-specific equivalent) even if there is a comment. I&apos;ve only confirmed that there is a manageable amount of warnings (with none in third-party headers) with GCC, so it is possible that it will be still be impractical to use this with clang.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2305331">SERVER-75617</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2032502">SERVER-65927</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_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>Fri, 18 Mar 2022 19:26:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 36 weeks, 6 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></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>
                            1 year, 36 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>65.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>blake.oler@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>iryna.zhuravlova@mongodb.com</customfieldvalue>
            <customfieldvalue>lauren.lewis@mongodb.com</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|hyzj53:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i08af4:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5984">Dev Platform 2022-04-18</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|hyz5e7:</customfieldvalue>

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