nooschain / payload-backfill/backfill-types / PayloadBackfillResult
Interface: PayloadBackfillResult
Defined in: payload-backfill/backfill-types.ts:23
Aggregate result of one payload backfill attempt against one peer.
Properties
attempted
attempted:
number
Defined in: payload-backfill/backfill-types.ts:25
Number of locally missing records considered.
batches
batches:
object
Defined in: payload-backfill/backfill-types.ts:35
Batch execution details for operator diagnostics and tuning.
dbUpdateBatchCount
dbUpdateBatchCount:
number
Total local DB update statements attempted.
dbUpdateBatchSize
dbUpdateBatchSize:
number
Number of verified rows written per local DB update statement.
httpBatchCount
httpBatchCount:
number
Total peer payload batch requests attempted.
httpBatchSize
httpBatchSize:
number
Number of records sent to each peer payload batch request.
failed
failed:
number
Defined in: payload-backfill/backfill-types.ts:31
Number of records that failed due to validation, peer, or database errors.
fetched
fetched:
number
Defined in: payload-backfill/backfill-types.ts:27
Number of records whose ciphertext was fetched and stored locally.
reasonCounts
reasonCounts:
Record<string,number>
Defined in: payload-backfill/backfill-types.ts:33
Skipped/failed/fetched outcome counts grouped by stable reason.
records
records:
object[]
Defined in: payload-backfill/backfill-types.ts:46
Per-record outcome for operator diagnostics.
fetched
fetched:
boolean
Whether ciphertext was stored locally for this record.
reason?
optionalreason?:string
Stable or human-readable reason when the record was not fetched.
recordId
recordId:
string
Encrypted record id.
skipped
skipped:
number
Defined in: payload-backfill/backfill-types.ts:29
Number of records skipped because policy, permissions, or peer availability prevented fetch.