Tearleads

document_orphan_blob_reclaims Client SQLite table

Durable byte-reclamation queue populated before orphan attachment rows go.

Declared in packages/client-sdk/src/data/sqlite/schema/documentOrphanBlobReclaimSchema.ts

Columns

  • storage_keytext
    • primary key
    • not null

    Local blob storage key whose bytes may be deleted. The reclaimer deletes the bytes unless a pending or projected attachment row still names the key, then removes the row; a failed delete leaves it for a later pass.

DDL

The statements the client runs to create this table and its indexes.

CREATE TABLE IF NOT EXISTS "document_orphan_blob_reclaims" (
  "storage_key" TEXT NOT NULL PRIMARY KEY
);