<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:32:41 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-33215] Stash txn state when finishing an operation within an ongoing multi-statement txn</title>
                <link>https://jira.mongodb.org/browse/SERVER-33215</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="495451">SERVER-33215</key>
            <summary>Stash txn state when finishing an operation within an ongoing multi-statement txn</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="siyuan.zhou@mongodb.com">Siyuan Zhou</assignee>
                                    <reporter username="spencer@mongodb.com">Spencer Brody</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Feb 2018 00:02:22 +0000</created>
                <updated>Sun, 29 Oct 2023 22:34:56 +0000</updated>
                            <resolved>Thu, 8 Mar 2018 19:01:33 +0000</resolved>
                                                    <fixVersion>3.7.3</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1827705" author="siyuan.zhou@10gen.com" created="Thu, 8 Mar 2018 19:01:33 +0000"  >&lt;p&gt;Closing the ticket. The work to consolidate different ways to detect whether we&apos;re in transaction is partially covered by  &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33551&quot; title=&quot;Track snapshot read transactions with MultiDocumentTransactionState in Session&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33551&quot;&gt;&lt;del&gt;SERVER-33551&lt;/del&gt;&lt;/a&gt;. Will create a new ticket for future work.&lt;/p&gt;</comment>
                            <comment id="1822032" author="siyuan.zhou@10gen.com" created="Fri, 2 Mar 2018 23:12:19 +0000"  >&lt;p&gt;Most of the work described in this ticket has been done by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33223&quot; title=&quot;Add transaction resource stash for snapshot reads&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33223&quot;&gt;&lt;del&gt;SERVER-33223&lt;/del&gt;&lt;/a&gt;. I&apos;m using this ticket to track the clean up work, e.g. clean up the unused opCtx, consolidate different ways to check if we&apos;re in a transaction, etc.&lt;/p&gt;</comment>
                            <comment id="1819404" author="xgen-internal-githook" created="Thu, 1 Mar 2018 02:46:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;siyuan.zhou@mongodb.com&apos;, &apos;name&apos;: &apos;Siyuan Zhou&apos;, &apos;username&apos;: &apos;visualzhou&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33215&quot; title=&quot;Stash txn state when finishing an operation within an ongoing multi-statement txn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33215&quot;&gt;&lt;del&gt;SERVER-33215&lt;/del&gt;&lt;/a&gt; Remove unused references to opCtx in onCommit callbacks.&lt;/p&gt;

&lt;p&gt;This reverts commit d4ae81a7154ab57a266b38d4fe41dd12a3c4540a.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6e3fe522331269bbe57fc5ad9c9881349d2678cc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6e3fe522331269bbe57fc5ad9c9881349d2678cc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1817785" author="tess.avitabile" created="Tue, 27 Feb 2018 21:43:59 +0000"  >&lt;p&gt;Per discussion with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spencer&quot; class=&quot;user-hover&quot; rel=&quot;spencer&quot;&gt;spencer&lt;/a&gt;, I put read concern stashing in its own ticket: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33531&quot; title=&quot;Read concern should be stashed with transaction resources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33531&quot;&gt;&lt;del&gt;SERVER-33531&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1817747" author="tess.avitabile" created="Tue, 27 Feb 2018 21:20:55 +0000"  >&lt;p&gt;This is also important for writes, so that subsequent writes in the transaction use the correct yield policy for their plan executors (operations with read concern level snapshot will use INTERRUPT_ONLY yield policies).&lt;/p&gt;</comment>
                            <comment id="1817745" author="siyuan.zhou@10gen.com" created="Tue, 27 Feb 2018 21:18:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tess.avitabile&quot; class=&quot;user-hover&quot; rel=&quot;tess.avitabile&quot;&gt;tess.avitabile&lt;/a&gt;, no, that&apos;s not in my plan since this work focuses on writes.&lt;/p&gt;</comment>
                            <comment id="1817736" author="tess.avitabile" created="Tue, 27 Feb 2018 21:10:15 +0000"  >&lt;p&gt;As part of this work, are you going to stash and unstash the &lt;tt&gt;readConcern&lt;/tt&gt; for the transaction?&lt;/p&gt;</comment>
                            <comment id="1817562" author="xgen-internal-githook" created="Tue, 27 Feb 2018 19:08:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jack.mulrow@mongodb.com&apos;, &apos;name&apos;: &apos;Jack Mulrow&apos;, &apos;username&apos;: &apos;jsmulrow&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33215&quot; title=&quot;Stash txn state when finishing an operation within an ongoing multi-statement txn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33215&quot;&gt;&lt;del&gt;SERVER-33215&lt;/del&gt;&lt;/a&gt; Remove references to opCtx in onCommit callbacks.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit d6c49820b590d23b7d09ef4d8aba2218a7181dd2.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d4ae81a7154ab57a266b38d4fe41dd12a3c4540a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d4ae81a7154ab57a266b38d4fe41dd12a3c4540a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1816458" author="xgen-internal-githook" created="Mon, 26 Feb 2018 20:31:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;siyuan.zhou@mongodb.com&apos;, &apos;name&apos;: &apos;Siyuan Zhou&apos;, &apos;username&apos;: &apos;visualzhou&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33215&quot; title=&quot;Stash txn state when finishing an operation within an ongoing multi-statement txn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33215&quot;&gt;&lt;del&gt;SERVER-33215&lt;/del&gt;&lt;/a&gt; Remove references to opCtx in onCommit callbacks.&lt;/p&gt;

&lt;p&gt;WriteUnitOfWork in multi-statement transactions will call onCommit on&lt;br/&gt;
commitTransaction command where references to opCtx of previous commands&lt;br/&gt;
are no longer valid.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d6c49820b590d23b7d09ef4d8aba2218a7181dd2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d6c49820b590d23b7d09ef4d8aba2218a7181dd2&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="495604">SERVER-33223</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="471961">SERVER-32322</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="501908">SERVER-33477</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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.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, 23 Feb 2018 23:33:37 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 48 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/SERVER-33223'>SERVER-33223</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-718</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, 48 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>siyuan.zhou@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htpzo7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9knz:</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="2146">Repl 2018-02-26</customfieldvalue>
    <customfieldvalue id="2185">Repl 2018-03-12</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|htpltb:</customfieldvalue>

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