<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:34:43 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-77172] &quot;abortExpiredTransactions&quot; thread can get stuck if it fails to checkout a session</title>
                <link>https://jira.mongodb.org/browse/SERVER-77172</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The &quot;&lt;a href=&quot;https://github.com/10gen/mongo/blob/2b216afb7b2d20b78795b913bc2365cb7bb0a50b/src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp#L94&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;abortExpiredTransactions&lt;/a&gt;&quot; thread iterates over a list of expired sessions and tries to abort each one serially However, if, for some reason, one of the expired sessions &lt;a href=&quot;https://github.com/10gen/mongo/blob/a3a7bebb4bbee22076b0e895afb031ed46a0ccde/src/mongo/db/session_catalog.cpp#L121&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;cannot be checked out&lt;/a&gt; right away, the &quot;abortExpiredTransactions&quot; thread is blocked until the session can be checked out.&#160;&lt;/p&gt;

&lt;p&gt;This can potentially start expired sessions from being reaped.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2342183">SERVER-77172</key>
            <summary>&quot;abortExpiredTransactions&quot; thread can get stuck if it fails to checkout a session</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="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-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="haley.connelly@mongodb.com">Haley Connelly</reporter>
                        <labels>
                            <label>sharding-nyc-subteam2</label>
                            <label>sharding-nyc-subteam3</label>
                    </labels>
                <created>Tue, 16 May 2023 12:20:12 +0000</created>
                <updated>Tue, 23 Jan 2024 16:10:19 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="5649956" author="haley.connelly" created="Tue, 22 Aug 2023 13:12:38 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jack.mulrow%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;jack.mulrow@mongodb.com&quot;&gt;jack.mulrow@mongodb.com&lt;/a&gt; yes, that assumption is broken when operations are volunteered to help with cache eviction and get stuck trying to evict.&#160;&lt;/p&gt;

&lt;p&gt;It looks like the root issue is summarized well in&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64982&quot; title=&quot;Extended lack of availability caused by transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64982&quot;&gt;SERVER-64982&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;There seems to be quite a bit of WT related tickets not yet in progress. &#160;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=steve.kuhn%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;steve.kuhn@mongodb.com&quot;&gt;steve.kuhn@mongodb.com&lt;/a&gt;, do you know if WiredTiger has any plans to tackle the interruptibility/ eviction issues soon?&lt;/p&gt;


&lt;p&gt;Specifically,&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/WT-10958&quot; title=&quot;Session API to roll-back a transaction if it is blocking eviction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;WT-10958&quot;&gt;WT-10958&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64982&quot; title=&quot;Extended lack of availability caused by transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64982&quot;&gt;SERVER-64982&lt;/a&gt; related work?&lt;/p&gt;</comment>
                            <comment id="5427946" author="haley.connelly" created="Tue, 16 May 2023 12:21:34 +0000"  >&lt;p&gt;It would be nice to make the thread more robust to when a session cannot be checked out. Just because progress cannot be made for one session, does not mean we should block all other expired sessions from being reaped.&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2010139">SERVER-64982</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2318488">WT-10958</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1918423">SERVER-61251</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 17 Jul 2023 18:26:27 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        24 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-3546</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>kiro.morkos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            24 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>haley.connelly@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i29f8v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1wpj0:i</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_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</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|i291e7:</customfieldvalue>

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