tursodatabase/turso
Cached prepare statements don't work with concurrency
Aberta
#4.597 aberto em 11 de jan. de 2026
bughelp wanted
Métricas do repositório
- Stars
- (19.103 estrelas)
- Métricas de merge de PR
- (Mesclagem média 2d 11h) (147 fundiu PRs em 30d)
Description
A cached prepared statement created with Connection::prepare_cached() returns BusySnapshot error if another concurrent connection modifies the database, essentially making it impossible to reuse a connection in a connect pool.