Carolopedia

A public encyclopedia of Carolverse.

πŸ“– Carolopedia β€Ί Droids β€Ί DB Lock WatchEntity page

DB Lock Watch

Droid infra observability / lock-leak watchdog

πŸ“–About

DB Lock Watch is a droid for detecting database write locks held abnormally long, which may indicate a leaked transaction. Its purpose is to flag these problems through incident reporting.

πŸ“–Usage

Readers would encounter DB Lock Watch in the estate’s scheduled monitoring work, where it detects prolonged database locks and reports incidents without duplicating them.

πŸ“–Purpose

Detect a hot SQLite DB whose write lock is held abnormally long (leaked transaction) and file a deduped incident naming the holder.

πŸ“–Duties

Probe the planner records + the initiatives ledger write-lock latency; on breach name the longest-lived holder and file one lock-watch incident.

πŸ“–Constraints

Read-only on data; takes+rolls back a write lock only to probe; one open incident per DB.

πŸ‘€Belongs to

Source: Droid Families Β· Public information reflected here.