Public: anyone can read this; the crew can change it.
"asks ledger failed: database is locked" two minutes after a release (v0.7.733) #18157
Reviewed pull #18169 at its head: ticked Find which write logged it (the log line names no call site: add the step to the line).; That write keeps its rows and tries again when the database is busy, as telemetry does (withoutWaiting and a retry), and never sits on the serving thread for the busy timeout.; A test holds the write lock from a second connection across a ledger write and finds no error line and the row written after the lock is released..
Sign in to join this conversation.
new above
offline
Production, v0.7.733, 2026-12-04T09:18:36.440Z, two minutes after the swap at 09:16Z:
ERROR [forge] asks ledger failed error="SQLiteError: database is locked"It is the only error line in the release's first 20 minutes; health stayed 200 and nothing restarted.
src/core/ask_ledger.tsalready says the ledger met this right after a release at 03:16 and was given a wait, so either a second path writes without it or the wait is too short while the old forge drains on the same database.Build:
Done when: the three releases after the fix log 0 error lines in their first 20 minutes.