tursodatabase/turso

Cached prepare statements don't work with concurrency

Open

#4.597 geöffnet am 11. Jan. 2026

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

Repository-Metriken

Stars
 (19.103 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

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