콘텐츠로 이동
한국어

ReEncryptResumeState

이 콘텐츠는 아직 번역되지 않았습니다.

ReEncryptResumeState = object

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:58

Durable resume state for reEncryptObjectStorage. Without this, a crashed sweep had no choice but to re-list and re-check every key from scratch. With a progress store, the next run picks up immediately past the last fully-rewritten key (#109).

(Named ReEncryptResumeState to disambiguate from the existing ReEncryptProgress shape used by the per-event onProgress hook — that one is event-data, this one is durable state.)

readonly lastKey: string | null

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:60

Key of the last object the sweep successfully wrote. null = fresh start.


readonly processedCount: number

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:62

Cumulative count of objects rewritten across runs of the same sweep.