<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:46:00 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>[CSHARP-3690] IClientSessionHandle.IsInTransaction remains true even if transaction has been aborted</title>
                <link>https://jira.mongodb.org/browse/CSHARP-3690</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;IClientSessionHandle.IsInTransaction remains true on aborted transaction because of e.g. MongoWriteException. CommitTransaction excepts afterwards with the message:&#160;&lt;em&gt;MongoDB.Driver.MongoCommandException : Command commitTransaction failed: Transaction 1 has been aborted..&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;I&apos;ve attached a complete VS 2019 solution with xunit unit tests&lt;/b&gt; to reproduce the behavior. Unit test&#160;&lt;ins&gt;AbortTransactionOnMongoDbException&lt;/ins&gt; and&#160;&lt;ins&gt;ZombieSessionHowEcsDoesItTest4&lt;/ins&gt; fail because IsInTransaction is true even after transaction was aborted and therefore CommitTransaction is called.&#160;&lt;/p&gt;</description>
                <environment>C#; .NET 5; VS 2019; Windows 10, xunit 2.4.1</environment>
        <key id="1758922">CSHARP-3690</key>
            <summary>IClientSessionHandle.IsInTransaction remains true even if transaction has been aborted</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13202">Works as Designed</resolution>
                                        <assignee username="dmitry.lukyanov@mongodb.com">Dmitry Lukyanov</assignee>
                                    <reporter username="daniel.camarena@azo.com">Daniel Camarena</reporter>
                        <labels>
                            <label>InTransaction</label>
                            <label>command</label>
                            <label>exception</label>
                            <label>failed</label>
                            <label>transactions</label>
                    </labels>
                <created>Thu, 27 May 2021 06:29:07 +0000</created>
                <updated>Fri, 27 Oct 2023 13:24:45 +0000</updated>
                            <resolved>Wed, 2 Jun 2021 16:06:39 +0000</resolved>
                                    <version>2.12.3</version>
                                                    <component>Error Handling</component>
                    <component>Transactions</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3890567" author="JIRAUSER1260361" created="Tue, 22 Jun 2021 08:21:31 +0000"  >&lt;p&gt;I solved it like advised by&#160;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dmitry.lukyanov&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Dmitry Lukyanov&lt;/a&gt;: DAL is checking for MongoServerException, calls AbortTransaction and throws the exception again.&#160;&lt;/p&gt;

&lt;p&gt;If someone is interested in my solution how to handle it divided into DAL and BL:&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/321264/321264_MongoDbTest_Fixed.zip&quot; title=&quot;MongoDbTest_Fixed.zip attached to CSHARP-3690&quot;&gt;MongoDbTest_Fixed.zip&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3890421" author="JIRAUSER1260361" created="Tue, 22 Jun 2021 06:08:34 +0000"  >&lt;p&gt;Dear &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dmitry.lukyanov&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Dmitry Lukyanov&lt;/a&gt;,&#160;&lt;/p&gt;

&lt;p&gt;thank you again for your response.&#160;&lt;/p&gt;

&lt;p&gt;I think I have no other option than to accept your answer and do the workaround in my business logic. I still think that the session variable &lt;em&gt;IsInTransaction&lt;/em&gt; in the driver should represent the status of a transaction - apparently in the server - &lt;b&gt;the client has no transactions&lt;/b&gt; and therefore it&apos;s irrelevant if it thinks that there is an transaction active. But anyway, it seems that we are not on the same page regarding this issue.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thank you again for you effort,&#160;&lt;br/&gt;
 best regards,&#160;&lt;br/&gt;
 Daniel&lt;/p&gt;</comment>
                            <comment id="3889266" author="dmitry.lukyanov" created="Mon, 21 Jun 2021 17:04:28 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.camarena%40azo.com&quot; class=&quot;user-hover&quot; rel=&quot;daniel.camarena@azo.com&quot;&gt;daniel.camarena@azo.com&lt;/a&gt; , the behavior you&apos;re seeing is designed. &lt;em&gt;IsInTransaction&lt;/em&gt; represents the status of a transaction on the client side.&lt;/p&gt;</comment>
                            <comment id="3887781" author="JIRAUSER1260361" created="Mon, 21 Jun 2021 06:13:14 +0000"  >&lt;p&gt;Hi,&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;as I&apos;m new here, I don&apos;t know if anybody is reading comments on &quot;closed&quot; items. A short &quot;another developer is reflecting it&quot; or &quot;we are still thinking about it&quot; or &quot;you were wrong, everything is fine like it is&quot; would be great.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks, Daniel&lt;/p&gt;</comment>
                            <comment id="3856643" author="JIRAUSER1260361" created="Thu, 3 Jun 2021 07:11:51 +0000"  >&lt;p&gt;Dear &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dmitry.lukyanov&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Dmitry Lukyanov&lt;/a&gt;,&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;thank you for your investigation and the answer.&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;The unit test&lt;/b&gt; is just an easy example to show the behavior I&apos;d have excepted in another way. I know that the second insert fails and why it fails. For me the interesting thing in the unit test is, that the &lt;b&gt;transaction was aborted on server side&lt;/b&gt; for some reason, but the session object on &lt;b&gt;client side&lt;/b&gt; still &lt;b&gt;indicates&lt;/b&gt; that the &lt;b&gt;transaction is active&lt;/b&gt;, which is not true. I don&apos;t want to call AbortTransaction because of a server side exception. The decision was already made by the server - the transaction was already aborted. The code in the except path is &lt;b&gt;just to convince the client driver&lt;/b&gt; to indicate the correct information (IsInTranaction=false) which should not be job of the business logic, but the driver itself. So, I&apos;d agree if the lines you sent would be in the driver. When the driver notices that the server has aborted a transaction it should bring local variables in the same state to represent the real state of the object on the server.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Thank you for the &lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/blob/master/tests/MongoDB.Driver.Examples/TransactionExamplesForDocs/WithTransactionExample1.cs#L29&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;example&lt;/a&gt;, but in my real world program&lt;/b&gt; this is unfortunately not possible because several different classes are working on the same transaction without knowing of each other. So one central part is starting the transaction, everybody else is listening on events, modifying data if necessary and at the end the transaction is committed. Therefore, the example you showed is quite easy and the easiest way to use the session object avoiding the problem I have, unfortunately not an option in my case.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Long story short&lt;/b&gt;: From my point of view the driver should keep the provided information up to date and not obligate the user to do this. In this particular case: &lt;b&gt;&lt;ins&gt;When the driver notices that the server has ended the transaction, it should bring local variables to a correct state.&lt;/ins&gt;&lt;/b&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thank you once again for your time and effort investigating in this issue.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Best regards, Daniel&#160;&lt;/p&gt;</comment>
                            <comment id="3852780" author="dmitry.lukyanov" created="Tue, 1 Jun 2021 23:58:35 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.camarena%40azo.com&quot; class=&quot;user-hover&quot; rel=&quot;daniel.camarena@azo.com&quot;&gt;daniel.camarena@azo.com&lt;/a&gt;,&lt;br/&gt;
you have 2 failed tests:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;em&gt;AbortTransactionOnMongoDbException&lt;/em&gt; - this test fails because in your second inserting attempt, the server side session is aborted due to failure, but the client-side doesn&apos;t know about it, so you should explicitly call AbortTransaction on failure:
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;            session.StartTransaction();&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;            &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;try&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;            {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                var doc = &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; BsonDocument();&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                coll.InsertOne(session, doc);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                coll.InsertOne(session, doc); &lt;/span&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// this step will fail because the doc with the same _id is already inserted&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;            }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;            &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;catch&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; (Exception ex)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;            {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                session.AbortTransaction();&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;throw&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; ex;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;            }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;            session.CommitTransaction();&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;to mark client-session aborted. Then &lt;em&gt;IsInTransaction&lt;/em&gt; will provide expected value.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;em&gt;ZombieSessionHowEcsDoesItTest4&lt;/em&gt; - the same as above&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;so, the behavior you&apos;re seeing is expected.&lt;br/&gt;
Also, you may want using &lt;em&gt;WithTransaction&lt;/em&gt; API that handles this work for you. See this &lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/blob/master/tests/MongoDB.Driver.Examples/TransactionExamplesForDocs/WithTransactionExample1.cs#L29&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;example&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3847876" author="mikalai.mazurenka" created="Fri, 28 May 2021 15:39:06 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.camarena%40azo.com&quot; class=&quot;user-hover&quot; rel=&quot;daniel.camarena@azo.com&quot;&gt;daniel.camarena@azo.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reporting this issue!&lt;/p&gt;

&lt;p&gt;We need some time to investigate it and will come back to you.&lt;/p&gt;</comment>
                            <comment id="3843739" author="JIRAUSER1260361" created="Thu, 27 May 2021 07:25:09 +0000"  >&lt;p&gt;Description in documentation of IsInTransaction which is not met: &lt;a href=&quot;http://mongodb.github.io/mongo-csharp-driver/2.12/reference/driver/crud/sessions_and_transactions/#isintransaction&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongodb.github.io/mongo-csharp-driver/2.12/reference/driver/crud/sessions_and_transactions/#isintransaction&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;Due to MongoDbException an transaction is aborted and call of commit and rollback is no longer possible. Everything is fine from my point of view if IsInTransaction would indicate it correctly.&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="317422" name="MongoDbTestWithOutBinaries.zip" size="191594" author="daniel.camarena@azo.com" created="Thu, 27 May 2021 06:31:51 +0000"/>
                            <attachment id="321264" name="MongoDbTest_Fixed.zip" size="11501" author="daniel.camarena@azo.com" created="Tue, 22 Jun 2021 08:18:43 +0000"/>
                    </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hz2q1b:</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>