<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:45:26 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-37244] Implement checkOutSessionForKill API and switch all non-migration callers to use it</title>
                <link>https://jira.mongodb.org/browse/SERVER-37244</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;According to the new session catalog concurrency control design, all session users will be required to check-out the session in order to use anything on it. This ticket is about implementing this functionality as agreed in the associated design.&lt;/p&gt;</description>
                <environment></environment>
        <key id="607944">SERVER-37244</key>
            <summary>Implement checkOutSessionForKill API and switch all non-migration callers to use it</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="kaloian.manassiev@mongodb.com">Kaloian Manassiev</assignee>
                                    <reporter username="kaloian.manassiev@mongodb.com">Kaloian Manassiev</reporter>
                        <labels>
                            <label>ShardedTxn:SessionRefactor</label>
                    </labels>
                <created>Fri, 21 Sep 2018 10:27:22 +0000</created>
                <updated>Sun, 29 Oct 2023 22:28:01 +0000</updated>
                            <resolved>Mon, 5 Nov 2018 18:13:55 +0000</resolved>
                                                    <fixVersion>4.1.5</fixVersion>
                                    <component>Internal Code</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2052129" author="kaloian.manassiev" created="Mon, 5 Nov 2018 18:13:56 +0000"  >&lt;p&gt;Because the work under this ticket is becoming too large, I am splitting the chunk migration work into &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37923&quot; title=&quot;Make the chunk migration recipient logic check-out sessions it is operating on&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37923&quot;&gt;&lt;del&gt;SERVER-37923&lt;/del&gt;&lt;/a&gt; and closing it.&lt;/p&gt;</comment>
                            <comment id="2051955" author="xgen-internal-githook" created="Mon, 5 Nov 2018 16:49:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kaloian Manassiev&apos;, &apos;email&apos;: &apos;kaloian.manassiev@mongodb.com&apos;, &apos;username&apos;: &apos;kaloianm&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37244&quot; title=&quot;Implement checkOutSessionForKill API and switch all non-migration callers to use it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37244&quot;&gt;&lt;del&gt;SERVER-37244&lt;/del&gt;&lt;/a&gt; Use thread-pool instead of detached std::thread in MongoDSessionCatalog&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fd8ad1c893f6341856c6353e88e45c4101a5091c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fd8ad1c893f6341856c6353e88e45c4101a5091c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2050497" author="xgen-internal-githook" created="Fri, 2 Nov 2018 18:04:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kaloian Manassiev&apos;, &apos;email&apos;: &apos;kaloian.manassiev@mongodb.com&apos;, &apos;username&apos;: &apos;kaloianm&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37244&quot; title=&quot;Implement checkOutSessionForKill API and switch all non-migration callers to use it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37244&quot;&gt;&lt;del&gt;SERVER-37244&lt;/del&gt;&lt;/a&gt; Expect interruption due to transaction abort in snapshot_read_utils.js&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2f4769e6bb9ec06f283309895eba8cf215a2c815&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2f4769e6bb9ec06f283309895eba8cf215a2c815&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2050359" author="xgen-internal-githook" created="Fri, 2 Nov 2018 16:10:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kaloian Manassiev&apos;, &apos;email&apos;: &apos;kaloian.manassiev@mongodb.com&apos;, &apos;username&apos;: &apos;kaloianm&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37244&quot; title=&quot;Implement checkOutSessionForKill API and switch all non-migration callers to use it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37244&quot;&gt;&lt;del&gt;SERVER-37244&lt;/del&gt;&lt;/a&gt; Fix race condition due to thread execution timing in session_catalog_test&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/07b22e23018deef35d97045d97c354a65dd4d61f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/07b22e23018deef35d97045d97c354a65dd4d61f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2047168" author="xgen-internal-githook" created="Wed, 31 Oct 2018 08:55:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kaloian Manassiev&apos;, &apos;email&apos;: &apos;kaloian.manassiev@mongodb.com&apos;, &apos;username&apos;: &apos;kaloianm&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37244&quot; title=&quot;Implement checkOutSessionForKill API and switch all non-migration callers to use it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37244&quot;&gt;&lt;del&gt;SERVER-37244&lt;/del&gt;&lt;/a&gt; Make sessions killable outside of the Session/TransactionParticipant object&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/236c6c28a18210586673097ee436c5b613b6c46f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/236c6c28a18210586673097ee436c5b613b6c46f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2045887" author="xgen-internal-githook" created="Tue, 30 Oct 2018 07:25:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kaloian Manassiev&apos;, &apos;email&apos;: &apos;kaloian.manassiev@mongodb.com&apos;, &apos;username&apos;: &apos;kaloianm&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37244&quot; title=&quot;Implement checkOutSessionForKill API and switch all non-migration callers to use it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37244&quot;&gt;&lt;del&gt;SERVER-37244&lt;/del&gt;&lt;/a&gt; Pull the Session state management from SessionRuntimeInfo into Session&lt;/p&gt;

&lt;p&gt;The session&apos;s check-out state is currently duplicated between&lt;br/&gt;
SessionCatalog&apos;s internal container structure and the Session class.&lt;br/&gt;
This change moves it all to be under Session.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8dca4a066df2418c90c517fee3e656813697b5fa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8dca4a066df2418c90c517fee3e656813697b5fa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2030996" author="xgen-internal-githook" created="Fri, 12 Oct 2018 06:27:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kaloian Manassiev&apos;, &apos;email&apos;: &apos;kaloian.manassiev@mongodb.com&apos;, &apos;username&apos;: &apos;kaloianm&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37244&quot; title=&quot;Implement checkOutSessionForKill API and switch all non-migration callers to use it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37244&quot;&gt;&lt;del&gt;SERVER-37244&lt;/del&gt;&lt;/a&gt; Move MongoD-specific code out of SessionCatalog&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6ac6f0efe6e2b6452f2238beb765396f983c53cb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6ac6f0efe6e2b6452f2238beb765396f983c53cb&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="592013">SERVER-36799</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="622838">SERVER-37711</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="626012">SERVER-37794</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="621951">SERVER-37689</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="605853">SERVER-37160</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="628498">SERVER-37901</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="565654">SERVER-35909</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="628496">SERVER-37900</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.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, 12 Oct 2018 06:27:54 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 14 weeks, 2 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/SERVER-36799'>SERVER-36799</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-37689'>SERVER-37689</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-37711'>SERVER-37711</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-37794'>SERVER-37794</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-834</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>
                            5 years, 14 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>46.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu8jcn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr84qv:</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="2538">Sharding 2018-10-08</customfieldvalue>
    <customfieldvalue id="2539">Sharding 2018-10-22</customfieldvalue>
    <customfieldvalue id="2540">Sharding 2018-11-05</customfieldvalue>
    <customfieldvalue id="2581">Sharding 2018-11-19</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|hu85lz:</customfieldvalue>

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