tursodatabase/turso

Cached prepare statements don't work with concurrency

Open

#4597 aperta il 11 gen 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (1001 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (19.103 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor