-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
BUG: TransactionStatePSPEOperation throws exception in valid enviroment #55337
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
I have a similar issue on Windows in a .NET 4.8 application using EF Core 3.1 I have no distributed transactions (unless some library code does something funny) so use of MSDTC is not expected. The issue manifests itself under high load when there are a lot of write-heavy transactions.
|
Description
Sometimes on our servers we see the following exception
Stacktrace:
EDIT:
We found the same stack trace under a Windows environment as well
Configuration
Regression?
Other information
Based on the documentation page of Promotable Single Phase Enlistment
...TransactionStatePSPEOperation should not throw an exception under a Linux environment where we don't have MSDTC.
Related
Issue dotnet/SqlClient#784 seems to present the same stacktrace (second one) .
This mentions dotnet/SqlClient#543 which seems to be the culprid because they introduced a new
if
statement and checks the status hereSource: https://github.com/dotnet/SqlClient/pull/543/files#diff-318a0b3769dd34240f6758ac2efc7fc599875e28230753d10d438f6a1c797fbfR211
Also opened an issue here: dotnet/SqlClient#1163
The text was updated successfully, but these errors were encountered: