Table of Contents

Reports and status

This page documents Orleans.Lattice.Backup 10.5.0, in the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at reports-and-status.md, and llms.txt lists every page.

Part of Orleans.Lattice.Backup API reference.

BackupRetentionReport

  • Constructor: BackupRetentionReport(int retainedCount, IReadOnlyList<string> prunedBackupIds). Throws ArgumentOutOfRangeException (retainedCount negative), ArgumentNullException (prunedBackupIds null).
  • Properties: int RetainedCount, IReadOnlyList<string> PrunedBackupIds, int PrunedCount (equals PrunedBackupIds.Count).
  • static BackupRetentionReport Empty - a report that retained nothing and pruned nothing.

RestoreAdmissionReport

The self-describing size and topology of a restore, resolved from the target backup's manifest chain before any fence is engaged or shadow tree is built, so a coordinated restore can hard-refuse an infeasible target up front. Returned by ILatticeCoordinatedRestoreEngine.ProbeAdmissionAsync. An in-process value only (no serializer surface).

  • Constructor: RestoreAdmissionReport(string backupId, string targetTreeId, long totalByteLength, long totalChunkCount, int shardCount, IReadOnlyList<string> manifestChain). Throws ArgumentException (a required string null/empty), ArgumentNullException (manifestChain null), and ArgumentOutOfRangeException (totalByteLength/totalChunkCount negative, shardCount not positive).
  • Properties: string BackupId, string TargetTreeId, long TotalByteLength, long TotalChunkCount, int ShardCount, IReadOnlyList<string> ManifestChain (base-first order), and IReadOnlyList<string> SourceTreeIds { get; init; } - the distinct trees the chain's manifests were captured from, in base-first order of first appearance. ProbeAdmissionAsync always reports at least one; it defaults to empty, which a consumer relying on it must treat as unknown. Setting it to null throws ArgumentNullException. A replication participant uses it to confine a peer-coordinated restore to backups of trees it replicates (#5443).

BackupSchedulerRuntimeStatus

A scope's schedule registration and last-run status.

  • Constructor: BackupSchedulerRuntimeStatus(bool fullScheduleRegistered, bool incrementalScheduleRegistered, DateTimeOffset? lastFullRunUtc, DateTimeOffset? lastFullSuccessUtc, DateTimeOffset? lastIncrementalRunUtc, DateTimeOffset? lastIncrementalSuccessUtc, BackupScopeRunOutcome lastRunOutcome, TimeSpan? runtimeFullBackupInterval = null, TimeSpan? runtimeIncrementalBackupInterval = null).
  • Properties mirror the constructor parameters: bool FullScheduleRegistered, bool IncrementalScheduleRegistered, DateTimeOffset? LastFullRunUtc, DateTimeOffset? LastFullSuccessUtc, DateTimeOffset? LastIncrementalRunUtc, DateTimeOffset? LastIncrementalSuccessUtc, BackupScopeRunOutcome LastRunOutcome, TimeSpan? RuntimeFullBackupInterval, TimeSpan? RuntimeIncrementalBackupInterval (the clamped interval of a runtime schedule registered through ScheduleRecurringBackupAsync, or null when none is recorded for that kind).

BackupCatalogRebuildReport

The outcome summary of ILatticeBackupCatalogRebuildService.RebuildFromSinkAsync. ScannedCount always equals RegisteredCount + ReconciledCount + SkippedCount. A manifest is skipped, and logged with its backup id, when it left the sink during the rebuild or an artifact it references is missing - as an operator delete interrupted part-way leaves it - so it would not restore; 10.2.0 listed such a manifest.

  • Constructor: BackupCatalogRebuildReport(long scannedCount, long registeredCount, long reconciledCount).
  • Properties: long ScannedCount (manifests enumerated from the sink), long RegisteredCount (absent from the catalog and freshly added), long ReconciledCount (already catalogued and reconciled in place), long SkippedCount (not listed because it no longer restores; an init property, zero by default).

BackupCatalogScrubReport

The outcome summary of ILatticeBackupCatalogScrubService.ScrubAsync. Non-destructive by default, so RemovedCount is zero and Pruned is false unless the caller opts in to pruning; a flag-only pass still reports every orphan.

  • Constructor: BackupCatalogScrubReport(long scannedCount, long orphanCount, long removedCount, bool pruned, IReadOnlyList<string> orphanBackupIds). Throws ArgumentNullException when orphanBackupIds is null.
  • Properties: long ScannedCount (catalog rows cross-checked against the sink), long OrphanCount (rows with no resolvable sink payload), long RemovedCount (orphan rows removed, zero on a non-destructive pass), bool Pruned (whether destructive pruning was requested for the pass - true even when no orphan was found), IReadOnlyList<string> OrphanBackupIds (the ids of the orphans found).

BackupSinkResolution

The read-only outcome of ILatticeBackupSink.ProbeAsync: whether a backup is resolvable from the sink alone.

  • Constructor: BackupSinkResolution(string backupId, bool manifestPresent, IReadOnlyList<string> missingArtifactIds). Throws ArgumentException (backupId null/empty) and ArgumentNullException (missingArtifactIds null).
  • Properties: string BackupId, bool ManifestPresent, IReadOnlyList<string> MissingArtifactIds (referenced artifacts absent, or present but not committed), and the computed bool IsResolvable (true only when the manifest is present and no artifact is missing).

BackupHealthReport

The result of verifying one backup's durable sink payload - presence plus content-hash consistency, and for a replicated tree whether every peer cluster can read the sink holding it - precise enough to drive a diagnostics dialog. Persisted per backup by ILatticeBackupHealthStore.

  • Constructor: BackupHealthReport(string backupId, BackupHealthStatus status, bool manifestPresent, IReadOnlyList<string> missingArtifactIds, IReadOnlyList<string> hashMismatchArtifactIds, DateTimeOffset checkedAtUtc, string explanation, BackupSinkSharingStatus peerVisibility = BackupSinkSharingStatus.NotApplicable, IReadOnlyList<string>? peerUnconfirmedClusterIds = null). The two sharing parameters are trailing and defaulted, so every pre-existing call site and every report persisted before the probe existed still means "no cross-cluster claim made". Throws ArgumentException (backupId null/empty) and ArgumentNullException (missingArtifactIds, hashMismatchArtifactIds, or explanation null).
  • Properties: string BackupId, BackupHealthStatus Status, bool ManifestPresent, IReadOnlyList<string> MissingArtifactIds (referenced artifacts absent or uncommitted), IReadOnlyList<string> HashMismatchArtifactIds (present artifacts whose content no longer matches the manifest's recorded hash), DateTimeOffset CheckedAtUtc, string Explanation (a precise human-readable summary naming the missing / mismatched artifacts and any peer that cannot see the sink), BackupSinkSharingStatus PeerVisibility, IReadOnlyList<string> PeerUnconfirmedClusterIds, and the computed bool IsHealthy (true only when Status is Healthy).

A backup of a replicated tree whose sink is positively refuted (PeerVisibility is NotShared) is reported as Warning even when it is locally intact, because a coordinated restore resolves the same manifest chain from every cluster's own sink and would abort. A non-replicated tree's report is unaffected.

BackupHealthConfig

The per-backup health-monitoring override: whether the periodic monitor verifies this backup, and how often. Every backup is auto-enrolled with the configured defaults; this record overrides that for a single backup. Persisted by ILatticeBackupHealthStore.

  • Constructor: BackupHealthConfig(bool monitoringEnabled, TimeSpan interval). Throws ArgumentOutOfRangeException when interval is not strictly positive.
  • Properties: bool MonitoringEnabled, TimeSpan Interval.