-
Notifications
You must be signed in to change notification settings - Fork 311
[5.2] Preserve distributed transactions on pooled connection reset #3113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/5.2
Are you sure you want to change the base?
Conversation
Waiting for 7.0-preview1 to ensure no regression with this change. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
[ConditionalFact(nameof(s_EnlistedTransactionPreservedWhilePooledCondition), Timeout = 10000)] | ||
public void Test_EnlistedTransactionPreservedWhilePooled() | ||
{ | ||
#if NET7_0_OR_GREATER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be just #NET ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case we need it because TransactionManager.ImplicitDistributedTransaction was introduced in .NET 7.0
https://learn.microsoft.com/en-us/dotnet/api/system.transactions.transactionmanager.implicitdistributedtransactions?view=net-7.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, backporting!
No description provided.