tursodatabase/turso

Cached prepare statements don't work with concurrency

Aperta

#4597 aperta il 11 gen 2026

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

Metriche repository

Star
 (19.103 stelle)
Metriche merge PR
 (Merge medio 2g 11h) (147 PR mergiate in 30 g)

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