-
-
Notifications
You must be signed in to change notification settings - Fork 456
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
Transaction error #2594
base: master
Are you sure you want to change the base?
Transaction error #2594
Conversation
The difference between the working and non-working case (as far as I can tell) is that in the non-working case there is one extra call to ConnectionFactory.Create(). |
6f60ad6
to
0a7a351
Compare
@ttichy The changes what you have done is failing due to expected and actual values being different and not due to the error
Could you please recheck using the latest Marten version and get back to us? |
@oskardudycz we discussed this a long time ago on gitter and you asked me to make a PR with a failing test. So about 8 months later, here it is :)
I am having issues with npgsql elevating transactions to prepared and then failing with
55000: prepared transactions are disabled
I modified
enlist_in_transaction_scope_by_transaction
test, so it skips the bulk insertion insidefixtureSetup
.Notice that without the bulk insertion, the seemingly textbook case of enrolling in a transaction fails with the error message above.