<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:33:23 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-33432] Implicit transaction abort</title>
                <link>https://jira.mongodb.org/browse/SERVER-33432</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This ticket covers the following implicit abort cases.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;When a transaction is open and the server receives an operation with a higher transactionId on the same session, the existing transaction will be aborted and a new transaction will be started.&lt;/li&gt;
	&lt;li&gt;Any time the storage engine tells us to.&lt;/li&gt;
	&lt;li&gt;If a transaction encounters a WriteConflictException at any point.&lt;/li&gt;
	&lt;li&gt;When the transaction tries to access its storage engine layer transaction and discovers that the storage transaction has been aborted.  This would happen whenever the storage engine decides to kill an ongoing transaction for any reason (for example due to WT cache pressure).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;It doesn&apos;t cover the following cases.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;When they see an operation on the same transaction with a &#8216;stmtId&#8217; that has already been seen on that transaction.&lt;/li&gt;
	&lt;li&gt;When the primary driving the transaction steps down.&lt;/li&gt;
	&lt;li&gt;When the session expires.&lt;/li&gt;
	&lt;li&gt;When the transaction has been alive for more than 1 minute.&lt;/li&gt;
	&lt;li&gt;If a transaction fails to acquire a database lock at any point.&lt;/li&gt;
	&lt;li&gt;When a transaction tries to commit but discovers that the applyOps commit entry it would generate is too large (greater than 16 MB).&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="500850">SERVER-33432</key>
            <summary>Implicit transaction abort</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>
                            <label>todo_in_code</label>
                    </labels>
                <created>Wed, 21 Feb 2018 21:02:22 +0000</created>
                <updated>Sun, 29 Oct 2023 22:34:32 +0000</updated>
                            <resolved>Wed, 4 Apr 2018 04:06:45 +0000</resolved>
                                                    <fixVersion>3.7.4</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1854611" author="siyuan.zhou@10gen.com" created="Wed, 4 Apr 2018 04:06:46 +0000"  >&lt;p&gt;Moving the patch that disallows reusing aborted transaction number to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33501&quot; title=&quot;Support retryable writes for abortTransaction and commitTransaction commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33501&quot;&gt;&lt;del&gt;SERVER-33501&lt;/del&gt;&lt;/a&gt; and closing this ticket.&lt;/p&gt;</comment>
                            <comment id="1848610" author="xgen-internal-githook" created="Wed, 28 Mar 2018 23:57:31 +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-33432&quot; title=&quot;Implicit transaction abort&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33432&quot;&gt;&lt;del&gt;SERVER-33432&lt;/del&gt;&lt;/a&gt; Move transaction abort test into jsCore_txns test suite.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/088399a31d76dcc97aa84e66d1fdc774b98f4358&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/088399a31d76dcc97aa84e66d1fdc774b98f4358&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1847312" author="xgen-internal-githook" created="Tue, 27 Mar 2018 23:42: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-33432&quot; title=&quot;Implicit transaction abort&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33432&quot;&gt;&lt;del&gt;SERVER-33432&lt;/del&gt;&lt;/a&gt; Abort transaction on write conflicts and other exceptions.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8060a008b5dce908553cec373bd6667c30b97fe0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8060a008b5dce908553cec373bd6667c30b97fe0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1847303" author="xgen-internal-githook" created="Tue, 27 Mar 2018 23:32:19 +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-33432&quot; title=&quot;Implicit transaction abort&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33432&quot;&gt;&lt;del&gt;SERVER-33432&lt;/del&gt;&lt;/a&gt; Abort existing transaction when a new transaction is started on the same session.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3cf7ebe0c5f0975cc38cebb10fd1b47367f713c0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3cf7ebe0c5f0975cc38cebb10fd1b47367f713c0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1847180" author="dianna.hohensee" created="Tue, 27 Mar 2018 21:33:44 +0000"  >&lt;p&gt;Linking &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33295&quot; title=&quot;Kill long-running snapshot transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33295&quot;&gt;&lt;del&gt;SERVER-33295&lt;/del&gt;&lt;/a&gt; as depending on this. I need an insert op using an aborted transaction&apos;s txnNumber to fail for my testing, to make sure the transaction was aborted as expected.&lt;/p&gt;</comment>
                            <comment id="1840212" author="tess.avitabile" created="Tue, 20 Mar 2018 21:13:18 +0000"  >&lt;p&gt;This ticket should also cover the case where the _activeTxnNumber is bumped due to chunk migration.&lt;/p&gt;</comment>
                            <comment id="1836471" author="tess.avitabile" created="Fri, 16 Mar 2018 14:16:15 +0000"  >&lt;p&gt;Great, I will close &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33671&quot; title=&quot;Bumping txnNumber does not clear stashed transaction resources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33671&quot;&gt;&lt;del&gt;SERVER-33671&lt;/del&gt;&lt;/a&gt; as a duplicate.&lt;/p&gt;</comment>
                            <comment id="1835923" author="siyuan.zhou@10gen.com" created="Thu, 15 Mar 2018 23:37:14 +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;, yes. I believe they are the same issue. Thanks for the repo, which will be very useful for my testing.&lt;/p&gt;</comment>
                            <comment id="1835574" author="tess.avitabile" created="Thu, 15 Mar 2018 20:26:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=siyuan.zhou&quot; class=&quot;user-hover&quot; rel=&quot;siyuan.zhou&quot;&gt;siyuan.zhou&lt;/a&gt;, do you expect to fix &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33671&quot; title=&quot;Bumping txnNumber does not clear stashed transaction resources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33671&quot;&gt;&lt;del&gt;SERVER-33671&lt;/del&gt;&lt;/a&gt; as part of this work? Initially we considered this a bug in the stash mechanism implemented for snapshot reads, but maybe it is part of the framework for auto-aborting transactions when the active transaction number is bumped.&lt;/p&gt;</comment>
                            <comment id="1833002" author="siyuan.zhou@10gen.com" created="Tue, 13 Mar 2018 23:57:01 +0000"  >&lt;p&gt;This ticket should also ensure that the txnNumber for the aborted transaction cannot be reused for another transaction.&lt;/p&gt;</comment>
                            <comment id="1827665" author="tess.avitabile" created="Thu, 8 Mar 2018 18:40:38 +0000"  >&lt;p&gt;This ticket should also cover local snapshot reads and include testing.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="505942">SERVER-33671</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="514122">SERVER-34011</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="881100">SERVER-42552</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="514832">SERVER-34059</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="497584">SERVER-33315</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="514705">SERVER-34055</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>11.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>Thu, 8 Mar 2018 18:40:38 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 45 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-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, 45 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>45.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <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|htqw3j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9le7:</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="2186">Repl 2018-03-26</customfieldvalue>
    <customfieldvalue id="2187">Repl 2018-04-09</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|htqi93:</customfieldvalue>

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