Function: reconcileBlobRefs()
このコンテンツはまだ日本語訳がありません。
Function: reconcileBlobRefs()
Section titled “Function: reconcileBlobRefs()”reconcileBlobRefs<
S>(options):Promise<ReconcileResult>
Defined in: server/src/gc-blobs.ts:163
Rebuild _plasma_blob_refs from scratch by scanning every user table
that declares a file() column. Any _plasma_blobs row whose hash is
no longer referenced is transitioned to state='orphaned' so the
next gcOrphanedBlobs run can pick it up after the grace window.
Cheap enough for a scheduled cron on plasma-sized data sets; for very
large deployments, gate on a per-table updated_at filter later.
Type Parameters
Section titled “Type Parameters”S extends Record<string, AnyTable>
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<ReconcileResult>