<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:12:34 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-26578] Add startup warning for Intel CPUs which might have TSX bugs</title>
                <link>https://jira.mongodb.org/browse/SERVER-26578</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Certain versions of the Intel CPU microcode have TSX bugs which might lead to unexplained concurrency issues. We should include server startup warnings or if possible even refuse to start the server if we discover this situation.&lt;/p&gt;

&lt;p&gt;More information on this was provided by user &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=xiaost&quot; class=&quot;user-hover&quot; rel=&quot;xiaost&quot;&gt;xiaost&lt;/a&gt; as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-26018&quot; title=&quot;Inconsistency between the LockManager grantedList and grantedCount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-26018&quot;&gt;&lt;del&gt;SERVER-26018&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;can only be reproduced on servers with the new CPU(E5-2630 v4)&lt;/li&gt;
	&lt;li&gt;can be easily reproduced by modification of &lt;a href=&quot;https://github.com/mongodb/mongo/commit/dc50fa55c5efd8617bef4932e2fbdf40f5a5b587&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;unittests&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;can only  be reproduced under particular code execution sequence&lt;/li&gt;
	&lt;li&gt;it works well if we add some debug codes into the lock context&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;after debugging, we started to focus on hardware issue, including memory / CPU.&lt;/p&gt;

&lt;p&gt;With the help of Google, we found the TSX feature,  speeding up execution of multi-threaded software through lock elision,  seems to be evil of everything since 2014: &lt;br/&gt;
&lt;a href=&quot;https://en.wikipedia.org/wiki/Transactional_Synchronization_Extensions]&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;[1&lt;/a&gt; &lt;a href=&quot;http://wccftech.com/intel-tsx-bug-fixed-broadwellk-impossible-fix-haswell-patch/]&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;[2&lt;/a&gt; &lt;a href=&quot;https://www.reddit.com/r/hardware/comments/44k218/intel_disables_tsx_transactional_memory_again_in/]&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;[3&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In August 2014, Intel announced a bug in the TSX implementation on current steppings of Haswell, Haswell-E, Haswell-EP and early Broadwell CPUs, which resulted in disabling the TSX feature on affected CPUs via a microcode update.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;we checkout our microcode &lt;a href=&quot;http://metadata.ftp-master.debian.org/changelogs//non-free/i/intel-microcode/intel-microcode_3.20160714.1~deb8u1_changelog&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;changelog&lt;/a&gt;. In the latest release:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;    + Likely fixes a recently identified, critical but low-hitting TSX erratum on Broadwell, Broadwell-E and related Xeons (Broadwell-DE/WS/EP: Xeon-D 1500, E3-v4 and E5-v4)&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="322846">SERVER-26578</key>
            <summary>Add startup warning for Intel CPUs which might have TSX bugs</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="backlog-server-servicearch">Backlog - Service Architecture</assignee>
                                    <reporter username="kaloian.manassiev@mongodb.com">Kaloian Manassiev</reporter>
                        <labels>
                            <label>devtools-to-servicearch</label>
                            <label>re-triaged-ticket</label>
                    </labels>
                <created>Tue, 11 Oct 2016 18:30:00 +0000</created>
                <updated>Wed, 10 May 2023 18:48:51 +0000</updated>
                            <resolved>Thu, 24 Feb 2022 21:55:55 +0000</resolved>
                                    <version>3.0.12</version>
                    <version>3.2.10</version>
                    <version>3.4.0-rc0</version>
                                                    <component>Stability</component>
                                        <votes>1</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="5001578" author="blake.oler" created="Tue, 22 Nov 2022 19:08:04 +0000"  >&lt;p&gt;Keeping this closed since the issue seems to have gone away.&lt;/p&gt;</comment>
                            <comment id="4375689" author="JIRAUSER1262719" created="Thu, 24 Feb 2022 21:55:55 +0000"  >&lt;p&gt;We haven&#8217;t heard back from you for at least one calendar year, so this issue is being closed. If this is still an issue for you, please provide additional information and we will reopen the ticket.&lt;/p&gt;</comment>
                            <comment id="1741228" author="bydsky" created="Mon, 4 Dec 2017 08:38:09 +0000"  >&lt;p&gt;@Adun To reproduce the issue, we made some code changes in lock_manager_test, but unfortunately, the code is lost...&lt;br/&gt;
After we upgrade the microcode, the issue is gone, and it runs well till now.&lt;/p&gt;</comment>
                            <comment id="1740961" author="stutiredboy@gmail.com" created="Sun, 3 Dec 2017 12:20:37 +0000"  >&lt;p&gt;Our production ran into this issue occasionally. I try the branch r3.4.10 `lock_manager_test` on platfroms:&lt;/p&gt;

&lt;p&gt;1. Debian 8 + gcc 5.3 + libc 2.19-18+deb8u1 + microcode 0xb00001b + E5-2630v4&lt;br/&gt;
2. Debian 8 + gcc 5.3 + libc 2.19-18+deb8u1 + microcode 0xb000021 + E5-2630v4&lt;br/&gt;
3. Debian 8 + gcc 5.3 + libc 2.19-18+deb8u10 + microcode 0xb00001b + E5-2630v4&lt;br/&gt;
4. Debian 8 + gcc 5.3 + libc 2.19-18+deb8u10 + microcode 0xb000021 + E5-2630v4&lt;br/&gt;
5. Debian 9 + gcc 6.3 + libc 2.24-11+deb9u1 + microcode 0xb000021 + E5-2630v4&lt;/p&gt;

&lt;p&gt;unfortunately, I can&apos;t reproduce this issue. &lt;br/&gt;
so, what can I do to to confirm that is not because of  Intel TSX?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="289249">SERVER-24283</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="314855">SERVER-26018</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.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>Sun, 3 Dec 2017 12:20:37 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 11 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>benety.goh@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 11 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>5.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>stutiredboy@gmail.com</customfieldvalue>
            <customfieldvalue>backlog-server-servicearch</customfieldvalue>
            <customfieldvalue>blake.oler@mongodb.com</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>lauren.lewis@mongodb.com</customfieldvalue>
            <customfieldvalue>bydsky</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjtmf:</customfieldvalue>

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

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