Function: gcAuditLog()
このコンテンツはまだ日本語訳がありません。
Function: gcAuditLog()
Section titled “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.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<GcAuditResult>