<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:30:51 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-53415] Intent Lock timeout lead to server crash</title>
                <link>https://jira.mongodb.org/browse/SERVER-53415</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Our MongoDB server had a few instances where it crashed after seeing the following log message,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;{{&lt;/p&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {&amp;quot;t&amp;quot;}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt;,&quot;s&quot;:&quot;F&quot;, &quot;c&quot;:&quot;CONTROL&quot;, &quot;id&quot;:4757800, &quot;ctx&quot;:&quot;conn455&quot;,&quot;msg&quot;:&quot;Writing fatal message&quot;,&quot;attr&quot;:{&quot;message&quot;:&quot;DBException::toString(): LockTimeout: Unable to acquire IS lock on &apos;&lt;/p&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {16140901064495857683}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt;&apos; within 5ms.\nActual exception type: mongo::error_details::ExceptionForImpl&amp;lt;(mongo::ErrorCodes::Error)24, mongo::ExceptionForCat&amp;lt;(mongo::ErrorCategory)2&amp;gt; &amp;gt;\n&quot;}}}}&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&#160;&lt;br/&gt;
I can understand that it causes writing to fail, but why would it be a fatal error? This can entirely be due to a transient hardware issues such as slow access to disk.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1571128">SERVER-53415</key>
            <summary>Intent Lock timeout lead to server crash</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="9">Done</resolution>
                                        <assignee username="dianna.hohensee@mongodb.com">Dianna Hohensee</assignee>
                                    <reporter username="yan.zhou@cubistsystematic.com">Yan Zhou</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Dec 2020 10:56:27 +0000</created>
                <updated>Thu, 21 Jan 2021 20:08:11 +0000</updated>
                            <resolved>Thu, 14 Jan 2021 18:35:51 +0000</resolved>
                                    <version>4.4.1</version>
                                    <fixVersion>4.9.0</fixVersion>
                    <fixVersion>4.4.4</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3565601" author="dianna.hohensee" created="Thu, 14 Jan 2021 18:35:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48994&quot; title=&quot;LogTransactionOperationsForShardingHandler must use UninterruptibleLockGuard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48994&quot;&gt;&lt;del&gt;SERVER-48994&lt;/del&gt;&lt;/a&gt; has now been backported to the v4.4 branch, I believe this to be resolved.&lt;/p&gt;</comment>
                            <comment id="3562753" author="dianna.hohensee" created="Wed, 13 Jan 2021 16:21:04 +0000"  >&lt;p&gt;I see that in v4.4 sharding takes a MODE_IS ResourceMutex in an onCommit handler &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0c18127f7ff5a0959052188df6e4d7b9d24b9814/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp#L169-L170&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; &amp;#8211; and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0c18127f7ff5a0959052188df6e4d7b9d24b9814/src/mongo/db/s/op_observer_sharding_impl.cpp#L217-L219&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;registered here&lt;/a&gt;. In master, unlike v4.4, there&apos;s an &lt;a href=&quot;https://github.com/mongodb/mongo/blob/06b4a33530bfd58fab55e1fdda506b51f75f1ec5/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp#L169&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;UninterruptibleLockGuard on the same code&lt;/a&gt;. That was put in by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48994&quot; title=&quot;LogTransactionOperationsForShardingHandler must use UninterruptibleLockGuard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48994&quot;&gt;&lt;del&gt;SERVER-48994&lt;/del&gt;&lt;/a&gt;, which appears to have been addressing a 5ms transactions lock timeout. This seems very likely to be the problem &amp;#8211; or an identical one. So &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48994&quot; title=&quot;LogTransactionOperationsForShardingHandler must use UninterruptibleLockGuard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48994&quot;&gt;&lt;del&gt;SERVER-48994&lt;/del&gt;&lt;/a&gt; should be backported.&lt;/p&gt;</comment>
                            <comment id="3535140" author="bruce.lucas@10gen.com" created="Thu, 17 Dec 2020 20:18:57 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yan.zhou%40cubistsystematic.com&quot; class=&quot;user-hover&quot; rel=&quot;yan.zhou@cubistsystematic.com&quot;&gt;yan.zhou@cubistsystematic.com&lt;/a&gt;, we will investigate.&lt;/p&gt;</comment>
                            <comment id="3535115" author="JIRAUSER1258021" created="Thu, 17 Dec 2020 20:00:54 +0000"  >&lt;p&gt;I have attached the tail of the logs, starting from where it still looks normal (transaction successful etc).&lt;/p&gt;

&lt;p&gt;I notice that it appears to happen around when chunk migration happens at the same time when a transaction is started. I understand that bulk data insertion without disable the balancer is not optimal, and can impact performance. But I can&apos;t just disable balancer for every short burst of write activities. And the worst thing that could happen I expected to be either time out errors or temporary slow performance.&lt;/p&gt;

&lt;p&gt;Just FYI, mongodb is deployed via docker,&lt;/p&gt;</comment>
                            <comment id="3535056" author="bruce.lucas@10gen.com" created="Thu, 17 Dec 2020 19:45:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yan.zhou%40cubistsystematic.com&quot; class=&quot;user-hover&quot; rel=&quot;yan.zhou@cubistsystematic.com&quot;&gt;yan.zhou@cubistsystematic.com&lt;/a&gt;, can you please attach a complete log file showing such a crash to this ticket? Alternatively, you can upload it to &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/5507d568-4363-46ed-ac72-caa677aa56f2.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this secure private portal&lt;/a&gt; if it&apos;s too large to attach or if it contains sensitive information that you can&apos;t share on this public ticket.&lt;/p&gt;

&lt;p&gt;In addition, please archive and attach the contents of $dbpath/diagnostic.data from a node that has experienced this issue recently (past few days to a week or so), together with the log file(s) for that node.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1587595">SERVER-53720</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1589025">SERVER-53745</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="292220" name="crash.log" size="67169" author="yan.zhou@cubistsystematic.com" created="Thu, 17 Dec 2020 19:57:48 +0000"/>
                    </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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Dec 2020 19:45:25 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 3 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/BACKPORT-8419'>BACKPORT-8419</a></s>]]></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>connie.chen@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 3 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>yan.zhou@cubistsystematic.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hymakv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxr7lr:</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="4366">Execution Team 2021-01-25</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|hylwu7:</customfieldvalue>

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