- Storage backend:
redb3.x. - Database file:
DB_PATH/data.redb. - Writer coordination lock file:
DB_PATH/db.owner.lock. - Embedded GUI endpoint discovery file (GUI runtime only):
DB_PATH/.api-addr. pastes_metais a derived projection used for list/search/filter work, including derived retrieval metadata (kind, compacthandle, topterms).pastes_meta_statestores the projection schema version; startup rebuildspastes_metafrom authoritative paste rows only when that marker is missing or stale.
- Until stable release, backward compatibility is not required.
- This project does not provide a sled-to-redb migration path.
- Existing sled-era artifacts are considered incompatible with current runtime.
- If
data.redbis missing and legacy sled artifacts are present, startup fails with an explicit incompatible-storage error.
Caution
Sled-era data is not auto-migrated. Use a fresh DB_PATH for current builds unless you explicitly convert data yourself.
- redb write transactions are commit-durable.
- LocalPaste relies on
commit()durability; there is no required explicit flush step. - Multi-table write operations are executed inside single redb write transactions where invariant coupling matters.
- One writer process per
DB_PATHat a time. - Do not run
localpaste-guiand standalonelocalpasteconcurrently on the sameDB_PATH. - For isolated local testing, use distinct
DB_PATHdirectories.