コンテンツにスキップ

Function: gcAuditLog()

このコンテンツはまだ日本語訳がありません。

gcAuditLog(options): Promise<GcAuditResult>

Defined in: server/src/audit/gc.ts:52

Discard entries whose retention window has expired, in tile-sized chunks. Ripping out arbitrary rows would break Merkle reconstruction, so GC only ever removes complete closed tiles — the checkpoint that sealed them stays behind as the trust anchor verify uses (see verifyAuditChain({ trustedPrevAlh })).

Structured after gcOrphanedBlobs: fetch candidates in a bounded batch, delete one tile at a time, keep going on individual failures so a corrupt row doesn’t stop the sweep.

GcAuditOptions

Promise<GcAuditResult>