tursodatabase/turso

Cached prepare statements don't work with concurrency

Offen

#4.597 geöffnet am 11.01.2026

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (1.001 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (19.103 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T 11h) (147 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide