<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:35:24 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-34055] Convert WriteConflictException error to TransactionAborted</title>
                <link>https://jira.mongodb.org/browse/SERVER-34055</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="514705">SERVER-34055</key>
            <summary>Convert WriteConflictException error to TransactionAborted</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="siyuan.zhou@mongodb.com">Siyuan Zhou</assignee>
                                    <reporter username="spencer@mongodb.com">Spencer Brody</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Mar 2018 20:18:54 +0000</created>
                <updated>Fri, 30 Mar 2018 12:35:16 +0000</updated>
                            <resolved>Thu, 29 Mar 2018 20:24:49 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1849670" author="siyuan.zhou@10gen.com" created="Thu, 29 Mar 2018 20:24:39 +0000"  >&lt;p&gt;We decided not to convert WriteConflictException into TransactionAborted to expose the original reason of the errors. Closing this as &quot;Won&apos;t Fix&quot;. &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; tracks other implicit transaction abort issues.&lt;/p&gt;</comment>
                            <comment id="1844091" author="spencer" created="Sat, 24 Mar 2018 00:02:51 +0000"  >&lt;p&gt;Yes please!&lt;/p&gt;

&lt;p&gt;Edit: I see you may be asking about my previous comment about returning TransactionAborted after an abortTransaction command. What I meant was that the abortTransaction command should return OK, but if you try to use the transaction after that you may get a TransactionAborted. That probably won&apos;t be until 4.2 though. In 4.0 you&apos;ll more likely get TransactionFailed or NoSuchTransaction&lt;/p&gt;</comment>
                            <comment id="1844089" author="siyuan.zhou@10gen.com" created="Fri, 23 Mar 2018 23:59:09 +0000"  >&lt;p&gt;Shall we return { ok : 1 } after a transaction was explicitly aborted via the abortTransaction command?&lt;/p&gt;</comment>
                            <comment id="1843720" author="spencer" created="Fri, 23 Mar 2018 19:25:04 +0000"  >&lt;p&gt;I believe the only times we&apos;ll return TransactionAborted is on WriteConflictException and after a transaction was explicitly aborted via the abortTransaction command.&lt;/p&gt;

&lt;p&gt;All other failures will return their specific error codes.  Some of those errors might result in the transaction implicitly aborting, while others might leave the transaction around.&lt;/p&gt;</comment>
                            <comment id="1842223" author="bruce.lucas@10gen.com" created="Thu, 22 Mar 2018 17:08:07 +0000"  >&lt;p&gt;Will the information about why the transaction was aborted be available to the app in some way?&lt;/p&gt;</comment>
                            <comment id="1841395" author="schwerin" created="Wed, 21 Mar 2018 22:11:41 +0000"  >&lt;p&gt;I think converting WCE makes sense. It&apos;s the NotMaster-type error codes I was surprised by.&lt;/p&gt;</comment>
                            <comment id="1841393" author="siyuan.zhou@10gen.com" created="Wed, 21 Mar 2018 22:07:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin&quot; class=&quot;user-hover&quot; rel=&quot;schwerin&quot;&gt;schwerin&lt;/a&gt;, my plan for &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; includes this conversion. If we don&apos;t, users will get WriteConflictException instead and have no idea of the state of transaction.&lt;/p&gt;</comment>
                            <comment id="1841266" author="schwerin" created="Wed, 21 Mar 2018 20:32:24 +0000"  >&lt;p&gt;We&apos;ve had trouble in the past with unintended consequences of error code conversion. We don&apos;t do this for retryable writes, and that was a conscious decision. Could we instead just extend the retryable error codes list used by drivers for retryable writes?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="500850">SERVER-33432</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="518270">SERVER-34176</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 21 Mar 2018 20:32:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 45 weeks, 6 days 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>siyuan.zhou@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, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>siyuan.zhou@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htt8dz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9lbz:</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="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|htsulr:</customfieldvalue>

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