Callback Free Interactive Transactions -- exhausting connection pools in Prisma 5
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- databases
Research direction
Start with the callback-free interactive transaction implementation described in the issue and reproduce the P2028 error against Prisma 5, comparing it with the reported Prisma 4 behavior. The issue provides no file path, test, or minimal reproduction; done would require isolating a reproducible connection-pool failure and documenting or fixing its cause.
Written by the indexing model from the issue text.
Description
We've been using (a variant of) the callback-free-itx extension with Prisma 4 in production for a while now, it's been rock solid. We're exploring the upgrade to Prisma 5 and finding that periodically we're getting "unable to start a transaction in the given time" P2028 errors. We've narrowed it down to the callback free interactive transaction code. If we don't use transactions at all then we're stable.
I swapped over our implementation to be the exact one in this repository and we're seeing the same behavior. I don't have a small reproduction case yet, I'm opening this ticket for visibility and in the hope that somebody else has seen this on Prisma 5 and perhaps can point me in the right direction.
- Dominant language
- TypeScript
- Stars
- 227
- Forks
- 18
- Avg merge
- 4h 37m
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from prisma/prisma-client-extensions
-
Row Level Security Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
prisma/prisma-client-extensions#48 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
prisma/prisma-client-extensions#39 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
prisma/prisma-client-extensions#20 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
prisma/prisma-client-extensions#10 · 1 comment ·
All issues in prisma/prisma-client-extensions
Similar issues
-
comp/dashboard P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·