<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:37:16 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>[GODRIVER-1852] Failure during CommitTransaction still moves state to Committed</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1852</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;During a transaction, if a CommitTransaction times out, the client session state is still moved to &quot;Committed&quot;. &lt;/p&gt;

&lt;p&gt;This is inaccurate, as the operations within the commit will not have actually reached the server, so the transaction is not &quot;Committed&quot;. Furthermore, if users attempt to abort the transaction when the CommitTransaction fails, they will encounter a &quot;cannot call abortTransaction after calling commitTransaction&quot; error, which is likely an unexpected error.&lt;/p&gt;

&lt;p&gt;The issue is likely &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/master/mongo/session.go#L309&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;, where we set session state to &quot;Committed&quot; without checking for potential errors from operation execution.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1603849">GODRIVER-1852</key>
            <summary>Failure during CommitTransaction still moves state to Committed</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="benji.rewis@mongodb.com">Benji Rewis</assignee>
                                    <reporter username="benji.rewis@mongodb.com">Benji Rewis</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Jan 2021 20:45:20 +0000</created>
                <updated>Sat, 28 Oct 2023 11:37:56 +0000</updated>
                            <resolved>Fri, 26 Feb 2021 18:47:38 +0000</resolved>
                                                    <fixVersion>1.5.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3637602" author="xgen-internal-githook" created="Fri, 26 Feb 2021 18:46:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benjamin Rewis&apos;, &apos;email&apos;: &apos;32186188+benjirewis@users.noreply.github.com&apos;, &apos;username&apos;: &apos;benjirewis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1852&quot; title=&quot;Failure during CommitTransaction still moves state to Committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1852&quot;&gt;&lt;del&gt;GODRIVER-1852&lt;/del&gt;&lt;/a&gt; Add commitTransaction error check for timeout (#569)&lt;br/&gt;
Branch: release/1.5&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/b03a7e4ce2c051ec212bc90150a7e6f830e7b3dc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/b03a7e4ce2c051ec212bc90150a7e6f830e7b3dc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3637598" author="xgen-internal-githook" created="Fri, 26 Feb 2021 18:45:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benjamin Rewis&apos;, &apos;email&apos;: &apos;32186188+benjirewis@users.noreply.github.com&apos;, &apos;username&apos;: &apos;benjirewis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1852&quot; title=&quot;Failure during CommitTransaction still moves state to Committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1852&quot;&gt;&lt;del&gt;GODRIVER-1852&lt;/del&gt;&lt;/a&gt; Add commitTransaction error check for timeout (#569)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/1c2620e3a8f77b00a25cfe95032e2783606d003c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/1c2620e3a8f77b00a25cfe95032e2783606d003c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3589497" author="benji.rewis" created="Fri, 29 Jan 2021 14:43:38 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/569&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/569&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

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