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
interactiveTransactions
feature breaks long running transactions
#11565
Comments
Quick update on this. We know where the issue is and will fix it in the next release. As a quick fix for now you can also do this:
|
Is this supposed to be fixed now? I'm still running into it on |
Hey @arcticmatt, are you getting timeouts on regular (array) transactions or interactive (callback) transactions? |
Happens for us also for interactive (callback) transactions. The database call happens with network call and a batch of 20 plus records, consistently fails around 16 th loop. EDIT: issue happens when transaction crosses 5 seconds, going thru more docs helped. |
Guys, keep in mind that this issue is about the normal transactions (those without callback) which got broken when I turned on |
I'm getting the same error on 3.14.0: #13713 |
I have the same issue of timeout. what is the default timeout now? Is any way to set the default timeout longer? I don't want to set it per transaction, it's a pain. |
Hey @shtse8, feel free to check if a feature request is already open and upvote it, if not you can just open one. Thanks! |
Bug description
When you enable the new
interactiveTransactions
preview feature, it will break all your existing long running transactions.The following error will be printed to the console:
I thought this would get resolved once #9533 is fixed but nothing really changed with the 3.9.0 release.
How to reproduce
prisma.schema
for an SQLite databaseinteractiveTransactions
preview feature inprisma.schema
Expected behavior
This new
interactiveTransactions
preview feature should not affect the existing transactions in any way.Prisma information
I cannot really share this. But there is nothing special, just 20000 create queries on a single table with a few
connectOrCreate
fields.Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: