<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:03: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-43672] Invariant failure session-&gt;cursorOut() in wiredtiger_session_cache.cpp</title>
                <link>https://jira.mongodb.org/browse/SERVER-43672</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Good day!&lt;/p&gt;

&lt;p&gt;We faced a server crash, attaching error log fragment + trace.&lt;/p&gt;

&lt;p&gt;Thank you for any activity tracing this!&lt;/p&gt;</description>
                <environment>Mongo 3.6.7, git version: 2628472127e9f1826e02c665c1d93880a204075e&lt;br/&gt;
Debian Stretch x86_64, 4.4.112 kernel, xfs file system</environment>
        <key id="942801">SERVER-43672</key>
            <summary>Invariant failure session-&gt;cursorOut() in wiredtiger_session_cache.cpp</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="4">Incomplete</resolution>
                                        <assignee username="backlog-server-query">Backlog - Query Team</assignee>
                                    <reporter username="jiri.sula@livesport.eu">Jiri Sula</reporter>
                        <labels>
                            <label>qexec-team</label>
                    </labels>
                <created>Fri, 27 Sep 2019 12:00:19 +0000</created>
                <updated>Mon, 8 Jan 2024 15:23:04 +0000</updated>
                            <resolved>Tue, 17 Dec 2019 16:59:43 +0000</resolved>
                                    <version>3.6.7</version>
                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="2637535" author="craig.homa" created="Tue, 17 Dec 2019 16:59:43 +0000"  >&lt;p&gt;Closing as incomplete as the team has spent a few days investigating without progress and would need more information to pursue further. &lt;/p&gt;</comment>
                            <comment id="2547453" author="martin.neupauer" created="Mon, 18 Nov 2019 19:13:32 +0000"  >&lt;p&gt;Cursory check of the source code did not find anything.&lt;br/&gt;
Given the code uses RAII it will most likely be some kind of race between an exception thrown and cleanup from other thread. It will be challenging to catch it.&lt;/p&gt;</comment>
                            <comment id="2512803" author="david.storch" created="Thu, 31 Oct 2019 16:29:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=martin.neupauer&quot; class=&quot;user-hover&quot; rel=&quot;martin.neupauer&quot;&gt;martin.neupauer&lt;/a&gt;, could you investigate the cause of this invariant failure?&lt;/p&gt;</comment>
                            <comment id="2499113" author="maria.vankeulen" created="Thu, 24 Oct 2019 14:10:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.storch&quot; class=&quot;user-hover&quot; rel=&quot;david.storch&quot;&gt;david.storch&lt;/a&gt; This looks to be a misuse of cursors, so assigning to Query.&lt;/p&gt;</comment>
                            <comment id="2471850" author="louis.williams" created="Tue, 8 Oct 2019 16:26:45 +0000"  >&lt;p&gt;The invariant says: a session was released into the MongoDB session cache but there was at least one WT cursor open on that session. This indicates there was a missed call to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8ac53a6a615f14c78cf007ae6a58688849b63f56/src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp#L154&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;releaseCursor&lt;/a&gt;. This call is part of the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8ac53a6a615f14c78cf007ae6a58688849b63f56/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp#L338&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;destructor for our wrapper, WiredTigerCursor&lt;/a&gt;. We should explore where there are other callers of &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8ac53a6a615f14c78cf007ae6a58688849b63f56/src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp#L115&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;WiredTigerSession::getCursor&lt;/a&gt;&#160;that may not properly release their cursors.&lt;/p&gt;</comment>
                            <comment id="2459358" author="vaclav.bilek@livesport.eu" created="Thu, 3 Oct 2019 07:22:28 +0000"  >&lt;p&gt;Its on different&#160; physical HW, primary replicas of a sharded cluster.&lt;/p&gt;</comment>
                            <comment id="2440590" author="daniel.hatcher" created="Mon, 30 Sep 2019 15:50:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jiri.sula%40livesport.eu&quot; class=&quot;user-hover&quot; rel=&quot;jiri.sula@livesport.eu&quot;&gt;jiri.sula@livesport.eu&lt;/a&gt;, is this the same &lt;tt&gt;mongod&lt;/tt&gt; that crashed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43674&quot; title=&quot;mongoDB crash with &amp;quot;Got signal: 11 (Segmentation fault).&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43674&quot;&gt;&lt;del&gt;SERVER-43674&lt;/del&gt;&lt;/a&gt; or are they different? Is this a different process on the same underlying hardware? Please upload the full &lt;tt&gt;mongod&lt;/tt&gt; logs from start (or at least a few days before) up through the crash for each ticket so we can take a closer look.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="942829">SERVER-43674</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="231959" name="backtrace.txt" size="5866" author="jiri.sula@livesport.eu" created="Fri, 27 Sep 2019 12:02:29 +0000"/>
                            <attachment id="231958" name="errors.txt" size="21620" author="jiri.sula@livesport.eu" created="Fri, 27 Sep 2019 11:56:39 +0000"/>
                            <attachment id="232492" name="mongod.27023.log-20190926.bz2" size="11510664" author="vaclav.bilek@livesport.eu" created="Thu, 3 Oct 2019 07:20:09 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25143"><![CDATA[Query]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 30 Sep 2019 15:47:01 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 8 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>
                            4 years, 8 weeks, 1 day ago
                        </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>backlog-server-query</customfieldvalue>
            <customfieldvalue>craig.homa@mongodb.com</customfieldvalue>
            <customfieldvalue>daniel.hatcher@mongodb.com</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>jiri.sula@livesport.eu</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
            <customfieldvalue>maria.vankeulen@mongodb.com</customfieldvalue>
            <customfieldvalue>martin.neupauer@mongodb.com</customfieldvalue>
            <customfieldvalue>vaclav.bilek@livesport.eu</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvsxan:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvhhzb:</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="3285">Query 2019-11-18</customfieldvalue>
    <customfieldvalue id="3286">Query 2019-12-02</customfieldvalue>
    <customfieldvalue id="3287">Query 2019-12-16</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|hvsjjz:</customfieldvalue>

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