Table of Contents

Public declaration reference

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 public-declaration-reference.md, and llms.txt lists every page.

Part of Orleans.Lattice.Backup API reference.

The following inventory includes directly declared public members and overloads, enum values, and record positional members. Inherited framework members and compiler-generated record equality helpers are not additional package operations. Each source link identifies the declaration that defines its signature.

Orleans.Lattice.Backup.BackupCatalogIndexProjection

Source (line 35).

public sealed class BackupCatalogIndexProjection : ILatticeViewProjection

  • public const string Version
  • public string ProjectionVersion
  • public IEnumerable<ViewWrite> Project(LatticeMutation mutation)

Orleans.Lattice.Backup.BackupCatalogIndexRow

Source (line 17).

public sealed record BackupCatalogIndexRow

  • public string BackupId { get; init; }
  • public string Name { get; init; }
  • public BackupKind Kind { get; init; }
  • public string TreeId { get; init; }
  • public DateTimeOffset CreatedAtUtc { get; init; }
  • public string? SetId { get; init; }
  • public string? SetName { get; init; }
  • public string? BaseBackupId { get; init; }
  • public string DisplayName

Orleans.Lattice.Backup.BackupCatalogRebuildReport

Source (line 15).

public sealed record BackupCatalogRebuildReport

  • public BackupCatalogRebuildReport(long scannedCount, long registeredCount, long reconciledCount)
  • public long ScannedCount { get; init; }
  • public long RegisteredCount { get; init; }
  • public long ReconciledCount { get; init; }
  • public long SkippedCount { get; init; }

Orleans.Lattice.Backup.BackupCatalogScrubReport

Source (line 15).

public sealed record BackupCatalogScrubReport

  • public BackupCatalogScrubReport( long scannedCount, long orphanCount, long removedCount, bool pruned, IReadOnlyList<string> orphanBackupIds)
  • public long ScannedCount { get; init; }
  • public long OrphanCount { get; init; }
  • public long RemovedCount { get; init; }
  • public bool Pruned { get; init; }
  • public IReadOnlyList<string> OrphanBackupIds { get; init; }

Orleans.Lattice.Backup.BackupCompressionDictionaryRef

Source (line 9).

public sealed record BackupCompressionDictionaryRef

  • public BackupCompressionDictionaryRef(string dictionaryId, string digest)
  • public string DictionaryId { get; init; }
  • public string Digest { get; init; }

Orleans.Lattice.Backup.BackupConsistencyCut

Source (line 11).

public sealed record BackupConsistencyCut

  • public BackupConsistencyCut( long walSequence, long hlcTimestamp, IReadOnlyDictionary<string, long>? perOriginFrontier = null, IReadOnlyDictionary<int, long>? walPartitionOffsets = null, IReadOnlyList<Guid>? undecidedSagaIds = null)
  • public long WalSequence { get; init; }
  • public long HlcTimestamp { get; init; }
  • public IReadOnlyDictionary<string, long>? PerOriginFrontier { get; init; }
  • public IReadOnlyDictionary<int, long>? WalPartitionOffsets { get; init; }
  • public IReadOnlyList<Guid>? UndecidedSagaIds { get; init; }

Orleans.Lattice.Backup.BackupContentDescriptor

Source (line 18).

public sealed record BackupContentDescriptor

  • public BackupContentDescriptor( string artifactId, string contentHash, long byteLength, int chunkCount, BackupScopeSelector scope)
  • public string ArtifactId { get; init; }
  • public string ContentHash { get; init; }
  • public long ByteLength { get; init; }
  • public int ChunkCount { get; init; }
  • public BackupScopeSelector Scope { get; init; }

Orleans.Lattice.Backup.BackupContentHash

Source (line 15).

public static class BackupContentHash

  • public static string Compute(ReadOnlySpan<byte> content)
  • public static string Compute(IEnumerable<ReadOnlyMemory<byte>> chunks)

Orleans.Lattice.Backup.BackupHealthConfig

Source (line 16).

public sealed record BackupHealthConfig

  • public BackupHealthConfig(bool monitoringEnabled, TimeSpan interval)
  • public bool MonitoringEnabled { get; init; }
  • public TimeSpan Interval { get; init; }

Orleans.Lattice.Backup.BackupHealthReport

Source (line 20).

public sealed record BackupHealthReport

  • public 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)
  • public string BackupId { get; init; }
  • public BackupHealthStatus Status { get; init; }
  • public bool ManifestPresent { get; init; }
  • public IReadOnlyList<string> MissingArtifactIds { get; init; }
  • public IReadOnlyList<string> HashMismatchArtifactIds { get; init; }
  • public DateTimeOffset CheckedAtUtc { get; init; }
  • public string Explanation { get; init; }
  • public BackupSinkSharingStatus PeerVisibility { get; init; }
  • public IReadOnlyList<string> PeerUnconfirmedClusterIds { get; init; }
  • public bool IsHealthy

Orleans.Lattice.Backup.BackupHealthStatus

Source (line 11).

public enum BackupHealthStatus

  • Unknown = 0
  • Healthy = 1
  • Warning = 2
  • Missing = 3

Orleans.Lattice.Backup.BackupKeyDescriptor

Source (line 9).

public sealed record BackupKeyDescriptor

  • public BackupKeyDescriptor(string key, BackupKeyMergeMode mergeMode, string? originId = null)
  • public string Key { get; init; }
  • public BackupKeyMergeMode MergeMode { get; init; }
  • public string? OriginId { get; init; }

Orleans.Lattice.Backup.BackupKeyMergeMode

Source (line 9).

public enum BackupKeyMergeMode

  • LastWriterWins = 0
  • Crdt = 1

Orleans.Lattice.Backup.BackupKind

Source (line 7).

public enum BackupKind

  • Full = 0
  • Incremental = 1

Orleans.Lattice.Backup.BackupManifest

Source (line 14).

public sealed record BackupManifest

  • public BackupManifest( string id, string name, DateTimeOffset createdAtUtc, BackupKind kind, BackupScopeSelector scope, BackupConsistencyCut consistencyCut, BackupTopologySnapshot topology, string structuralDigest, IReadOnlyList<BackupKeyDescriptor> keyDescriptors, IReadOnlyList<BackupContentDescriptor> contentDescriptors, IReadOnlyList<BackupOriginProvenance> provenance, string? baseBackupId = null, BackupCompressionDictionaryRef? compressionDictionary = null, string? capturingClusterId = null)
  • public string Id { get; init; }
  • public string Name { get; init; }
  • public DateTimeOffset CreatedAtUtc { get; init; }
  • public BackupKind Kind { get; init; }
  • public BackupScopeSelector Scope { get; init; }
  • public BackupConsistencyCut ConsistencyCut { get; init; }
  • public BackupTopologySnapshot Topology { get; init; }
  • public string StructuralDigest { get; init; }
  • public IReadOnlyList<BackupKeyDescriptor> KeyDescriptors { get; init; }
  • public IReadOnlyList<BackupContentDescriptor> ContentDescriptors { get; init; }
  • public IReadOnlyList<BackupOriginProvenance> Provenance { get; init; }
  • public string? BaseBackupId { get; init; }
  • public BackupCompressionDictionaryRef? CompressionDictionary { get; init; }
  • public string? SetId { get; init; }
  • public string? SetName { get; init; }
  • public DateTimeOffset? SetCreatedAtUtc { get; init; }
  • public string? CapturingClusterId { get; init; }
  • public DateTimeOffset? LastCapturedAtUtc { get; init; }

Orleans.Lattice.Backup.BackupMetrics

Source (line 13).

public static class BackupMetrics

  • public const string MeterName
  • public const string TagTreeCount
  • public static readonly Meter Meter
  • public static readonly Counter<long> CrossTreeFenceSelections
  • public static readonly Counter<long> CrossTreeFenceDrainedInFlight
  • public static readonly Counter<long> CrossTreeFenceRetries
  • public static readonly Histogram<double> CrossTreeFenceDrainWaitMilliseconds

Orleans.Lattice.Backup.BackupOperationKinds

Source (line 8).

public static class BackupOperationKinds

  • public const string Prefix
  • public const string Capture
  • public const string IncrementalCapture
  • public const string SetCapture
  • public const string Restore
  • public const string ColdRestore
  • public const string HealthCheck
  • public const string CatalogRebuild
  • public const string CatalogScrub

Orleans.Lattice.Backup.BackupOperationPhases

Source (line 8).

public static class BackupOperationPhases

  • public const string Capturing
  • public const string CapturingMembers
  • public const string WritingMembers
  • public const string ResolvingMembers
  • public const string ApplyingRetention
  • public const string Cataloguing
  • public const string Bootstrapping
  • public const string Validating
  • public const string Applying
  • public const string Replaying
  • public const string Verifying
  • public const string RebuildingCatalog
  • public const string ScrubbingCatalog
  • public const string PruningOrphans

Orleans.Lattice.Backup.BackupOperationResultKeys

Source (line 7).

public static class BackupOperationResultKeys

  • public const string BackupId
  • public const string SetId
  • public const string MemberBackupIds
  • public const string TargetTreeId
  • public const string Mode
  • public const string RestoreOperationId
  • public const string ManifestChain
  • public const string EntriesApplied
  • public const string ShadowPhysicalTreeId
  • public const string PreviousPhysicalTreeId
  • public const string DeadLetteredCrossTenant
  • public const string DeadLetteredOverQuota
  • public const string HealthStatus
  • public const string MissingArtifactCount
  • public const string HashMismatchArtifactCount
  • public const string ScannedCount
  • public const string RegisteredCount
  • public const string ReconciledCount
  • public const string SkippedCount
  • public const string OrphanCount
  • public const string RemovedCount
  • public const string Pruned
  • public const string OrphanBackupIds

Orleans.Lattice.Backup.BackupOperationResults

Source (line 10).

public static class BackupOperationResults

  • public static bool TryReadRestoreResult( IReadOnlyDictionary<string, string> result, out LatticeRestoreResult? restore)
  • public static IReadOnlyList<string> ReadMemberBackupIds(IReadOnlyDictionary<string, string> result)
  • public static bool TryReadCatalogRebuildReport( IReadOnlyDictionary<string, string> result, out BackupCatalogRebuildReport? report)
  • public static bool TryReadCatalogScrubReport( IReadOnlyDictionary<string, string> result, out BackupCatalogScrubReport? report)

Orleans.Lattice.Backup.BackupOperationUnits

Source (line 6).

public static class BackupOperationUnits

  • public const string Entries
  • public const string Shards
  • public const string Members
  • public const string Manifests
  • public const string Artifacts

Orleans.Lattice.Backup.BackupOriginProvenance

Source (line 9).

public sealed record BackupOriginProvenance

  • public BackupOriginProvenance(string originId, long highWaterSequence)
  • public string OriginId { get; init; }
  • public long HighWaterSequence { get; init; }

Orleans.Lattice.Backup.BackupRestoreRecordDisposition

Source (line 10).

public enum BackupRestoreRecordDisposition

  • Admit = 0
  • CrossTenant = 1
  • OverQuota = 2

Orleans.Lattice.Backup.BackupRetentionReport

Source (line 11).

public sealed record BackupRetentionReport

  • public BackupRetentionReport(int retainedCount, IReadOnlyList<string> prunedBackupIds)
  • public int RetainedCount { get; init; }
  • public IReadOnlyList<string> PrunedBackupIds { get; init; }
  • public int PrunedCount
  • public static BackupRetentionReport Empty { get; }

Orleans.Lattice.Backup.BackupSchedulerRuntimeStatus

Source (line 11).

public sealed record BackupSchedulerRuntimeStatus

  • public BackupSchedulerRuntimeStatus( bool fullScheduleRegistered, bool incrementalScheduleRegistered, DateTimeOffset? lastFullRunUtc, DateTimeOffset? lastFullSuccessUtc, DateTimeOffset? lastIncrementalRunUtc, DateTimeOffset? lastIncrementalSuccessUtc, BackupScopeRunOutcome lastRunOutcome, TimeSpan? runtimeFullBackupInterval = null, TimeSpan? runtimeIncrementalBackupInterval = null)
  • public bool FullScheduleRegistered { get; init; }
  • public bool IncrementalScheduleRegistered { get; init; }
  • public DateTimeOffset? LastFullRunUtc { get; init; }
  • public DateTimeOffset? LastFullSuccessUtc { get; init; }
  • public DateTimeOffset? LastIncrementalRunUtc { get; init; }
  • public DateTimeOffset? LastIncrementalSuccessUtc { get; init; }
  • public BackupScopeRunOutcome LastRunOutcome { get; init; }
  • public TimeSpan? RuntimeFullBackupInterval { get; init; }
  • public TimeSpan? RuntimeIncrementalBackupInterval { get; init; }

Orleans.Lattice.Backup.BackupScopeKey

Source (line 13).

public static class BackupScopeKey

  • public static string For(BackupScopeSelector scope)

Orleans.Lattice.Backup.BackupScopeKind

Source (line 8).

public enum BackupScopeKind

  • WholeTree = 0
  • Prefix = 1
  • Key = 2

Orleans.Lattice.Backup.BackupScopeRunOutcome

Source (line 9).

public enum BackupScopeRunOutcome

  • None = 0
  • Success = 1
  • Failure = 2
  • Denied = 3

Orleans.Lattice.Backup.BackupScopeSelector

Source (line 14).

public sealed record BackupScopeSelector

  • public BackupScopeSelector(BackupScopeKind kind, string treeId, string? keyOrPrefix = null)
  • public BackupScopeKind Kind { get; init; }
  • public string TreeId { get; init; }
  • public string? KeyOrPrefix { get; init; }
  • public static BackupScopeSelector WholeTree(string treeId)
  • public static BackupScopeSelector Prefix(string treeId, string prefix)
  • public static BackupScopeSelector Key(string treeId, string key)

Orleans.Lattice.Backup.BackupSetFence

Source (line 20).

public sealed record BackupSetFence

  • public BackupSetFence( long hlcTimestamp, int drainedInFlightCount, double drainWaitMilliseconds, int attempts)
  • public long HlcTimestamp { get; init; }
  • public int DrainedInFlightCount { get; init; }
  • public double DrainWaitMilliseconds { get; init; }
  • public int Attempts { get; init; }

Orleans.Lattice.Backup.BackupSetManifest

Source (line 12).

public sealed record BackupSetManifest

  • public BackupSetManifest( string? setId, string name, DateTimeOffset createdAtUtc, bool crossTreeConsistent, BackupSetFence? fence, IReadOnlyList<string> memberBackupIds)
  • public string? SetId { get; init; }
  • public string Name { get; init; }
  • public DateTimeOffset CreatedAtUtc { get; init; }
  • public bool CrossTreeConsistent { get; init; }
  • public BackupSetFence? Fence { get; init; }
  • public IReadOnlyList<string> MemberBackupIds { get; init; }

Orleans.Lattice.Backup.BackupSetMember

Source (line 12).

public readonly record struct BackupSetMember(string BackupId, string TreeId)

  • Primary constructor / positional members: (string BackupId, string TreeId)

Orleans.Lattice.Backup.BackupSetMembershipMode

Source (line 7).

public enum BackupSetMembershipMode

  • Explicit = 0
  • AllTrees = 1

Orleans.Lattice.Backup.BackupSetScheduleRun

Source (line 7).

public sealed record BackupSetScheduleRun

  • public BackupSetScheduleRun( DateTimeOffset startedAtUtc, DateTimeOffset finishedAtUtc, BackupSetScheduleTrigger trigger, BackupScopeRunOutcome outcome, string? setId, int memberCount, int attempts, string? failureReason)
  • public DateTimeOffset StartedAtUtc { get; init; }
  • public DateTimeOffset FinishedAtUtc { get; init; }
  • public BackupSetScheduleTrigger Trigger { get; init; }
  • public BackupScopeRunOutcome Outcome { get; init; }
  • public string? SetId { get; init; }
  • public int MemberCount { get; init; }
  • public int Attempts { get; init; }
  • public string? FailureReason { get; init; }

Orleans.Lattice.Backup.BackupSetScheduleRunProgress

Source (line 21).

public sealed record BackupSetScheduleRunProgress

  • public BackupSetScheduleRunProgress( DateTimeOffset startedAtUtc, BackupSetScheduleTrigger trigger, int attempt, string phase, long completedUnits, long? totalUnits, string? unitName, string? currentTreeId, DateTimeOffset updatedAtUtc)
  • public DateTimeOffset StartedAtUtc { get; init; }
  • public BackupSetScheduleTrigger Trigger { get; init; }
  • public int Attempt { get; init; }
  • public string Phase { get; init; }
  • public long CompletedUnits { get; init; }
  • public long? TotalUnits { get; init; }
  • public string? UnitName { get; init; }
  • public string? CurrentTreeId { get; init; }
  • public DateTimeOffset UpdatedAtUtc { get; init; }

Orleans.Lattice.Backup.BackupSetScheduleStatus

Source (line 9).

public sealed record BackupSetScheduleStatus

  • public BackupSetScheduleStatus( string name, LatticeBackupSetScheduleRequest request, IReadOnlyList<BackupScopeSelector> memberScopes, bool isScheduled, DateTimeOffset? nextRunUtc, bool isRunning, DateTimeOffset registeredAtUtc, DateTimeOffset? lastRunUtc, DateTimeOffset? lastSuccessUtc, BackupScopeRunOutcome lastOutcome, string? lastFailureReason, int consecutiveFailures, IReadOnlyList<BackupSetScheduleRun> recentRuns, IReadOnlyList<ScheduledBackupSet> retainedSets, BackupSetScheduleRunProgress? currentRun = null)
  • public string Name { get; init; }
  • public LatticeBackupSetScheduleRequest Request { get; init; }
  • public IReadOnlyList<BackupScopeSelector> MemberScopes { get; init; }
  • public bool IsScheduled { get; init; }
  • public DateTimeOffset? NextRunUtc { get; init; }
  • public bool IsRunning { get; init; }
  • public DateTimeOffset RegisteredAtUtc { get; init; }
  • public DateTimeOffset? LastRunUtc { get; init; }
  • public DateTimeOffset? LastSuccessUtc { get; init; }
  • public BackupScopeRunOutcome LastOutcome { get; init; }
  • public string? LastFailureReason { get; init; }
  • public int ConsecutiveFailures { get; init; }
  • public IReadOnlyList<BackupSetScheduleRun> RecentRuns { get; init; }
  • public IReadOnlyList<ScheduledBackupSet> RetainedSets { get; init; }
  • public BackupSetScheduleRunProgress? CurrentRun { get; init; }

Orleans.Lattice.Backup.BackupSetScheduleTrigger

Source (line 6).

public enum BackupSetScheduleTrigger

  • Schedule = 0
  • Manual = 1

Orleans.Lattice.Backup.BackupSinkResolution

Source (line 19).

public sealed record BackupSinkResolution

  • public BackupSinkResolution(string backupId, bool manifestPresent, IReadOnlyList<string> missingArtifactIds)
  • public string BackupId { get; init; }
  • public bool ManifestPresent { get; init; }
  • public IReadOnlyList<string> MissingArtifactIds { get; init; }
  • public bool IsResolvable

Orleans.Lattice.Backup.BackupSinkSharingEnforcement

Source (line 9).

public enum BackupSinkSharingEnforcement

  • Disabled = 0
  • Warn = 1
  • FailFast = 2

Orleans.Lattice.Backup.BackupSinkSharingReport

Source (line 19).

public sealed record BackupSinkSharingReport

  • public BackupSinkSharingReport( BackupSinkSharingStatus status, string clusterId, int peerCount, IReadOnlyList<string> unconfirmedPeerClusterIds, DateTimeOffset probedAtUtc, string explanation)
  • public BackupSinkSharingStatus Status { get; init; }
  • public string ClusterId { get; init; }
  • public int PeerCount { get; init; }
  • public IReadOnlyList<string> UnconfirmedPeerClusterIds { get; init; }
  • public DateTimeOffset ProbedAtUtc { get; init; }
  • public string Explanation { get; init; }
  • public bool IsRefuted

Orleans.Lattice.Backup.BackupSinkSharingStatus

Source (line 17).

public enum BackupSinkSharingStatus

  • NotApplicable = 0
  • Shared = 1
  • Unverified = 2
  • NotShared = 3

Orleans.Lattice.Backup.BackupTopologySnapshot

Source (line 10).

public sealed record BackupTopologySnapshot

  • public BackupTopologySnapshot( int shardCount, int virtualShardCount, IReadOnlyList<string> shardRootDigests)
  • public int ShardCount { get; init; }
  • public int VirtualShardCount { get; init; }
  • public IReadOnlyList<string> ShardRootDigests { get; init; }

Orleans.Lattice.Backup.IBackupRestoreAdmission

Source (line 19).

public interface IBackupRestoreAdmission

  • long AdmittedCount { get; }
  • long DeadLetteredCrossTenant { get; }
  • long DeadLetteredOverQuota { get; }
  • BackupRestoreRecordDisposition Admit(string key)

Orleans.Lattice.Backup.IBackupSinkSharingProbe

Source (line 31).

public interface IBackupSinkSharingProbe

  • BackupSinkSharingReport? LastReport { get; }
  • Task<BackupSinkSharingReport> ProbeAsync(CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupCaptureService

Source (line 18).

public interface ILatticeBackupCaptureService

  • Task<LatticeBackupCaptureResult> CaptureAsync( LatticeBackupCaptureRequest request, CancellationToken cancellationToken = default)
  • Task<LatticeBackupSetCaptureResult> CaptureSetAsync( LatticeBackupSetCaptureRequest request, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupCatalogRebuildService

Source (line 20).

public interface ILatticeBackupCatalogRebuildService

  • Task<BackupCatalogRebuildReport> RebuildFromSinkAsync(CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupCatalogScrubService

Source (line 20).

public interface ILatticeBackupCatalogScrubService

  • Task<BackupCatalogScrubReport> ScrubAsync( bool pruneOrphans = false, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupCatalogStore

Source (line 17).

public interface ILatticeBackupCatalogStore

  • Task RegisterAsync(BackupManifest manifest, CancellationToken cancellationToken = default)
  • Task<BackupManifest?> GetAsync(string backupId, CancellationToken cancellationToken = default)
  • Task<bool> RemoveAsync(string backupId, CancellationToken cancellationToken = default)
  • IAsyncEnumerable<BackupManifest> ListAsync(CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupColdRestoreService

Source (line 25).

public interface ILatticeBackupColdRestoreService

  • Task<LatticeRestoreResult> ColdRestoreAsync( LatticeRestoreRequest request, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupHealthService

Source (line 11).

public interface ILatticeBackupHealthService

  • Task<BackupHealthReport> VerifyAsync(string backupId, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupHealthStore

Source (line 12).

public interface ILatticeBackupHealthStore

  • Task SetReportAsync(BackupHealthReport report, CancellationToken cancellationToken = default)
  • Task<BackupHealthReport?> GetReportAsync(string backupId, CancellationToken cancellationToken = default)
  • IAsyncEnumerable<BackupHealthReport> ListReportsAsync(CancellationToken cancellationToken = default)
  • Task<bool> RemoveAsync(string backupId, CancellationToken cancellationToken = default)
  • Task SetConfigAsync(string backupId, BackupHealthConfig config, CancellationToken cancellationToken = default)
  • Task<BackupHealthConfig?> GetConfigAsync(string backupId, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupIncrementalCaptureService

Source (line 25).

public interface ILatticeBackupIncrementalCaptureService

  • Task<LatticeBackupCaptureResult> CaptureIncrementalAsync( LatticeBackupIncrementalCaptureRequest request, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupRestoreService

Source (line 19).

public interface ILatticeBackupRestoreService

  • Task<LatticeRestoreResult> RestoreAsync( LatticeRestoreRequest request, CancellationToken cancellationToken = default)
  • Task<IReadOnlyList<LatticeRestoreResult>> RestoreSetAsync( string setId, CancellationToken cancellationToken = default)
  • Task RevertRestoreAsync( LatticeRestoreResult restore, CancellationToken cancellationToken = default)
  • Task ReleaseRestoreAsync( LatticeRestoreResult restore, CancellationToken cancellationToken = default)
  • Task ReleaseRestoreSetAsync( IReadOnlyList<LatticeRestoreResult> restores, CancellationToken cancellationToken = default)
  • Task<LatticeRestoreCopyAudit> AuditRestoreCopiesAsync( string treeId, CancellationToken cancellationToken = default)
  • Task<LatticeRestoreCopyAudit> RepairRestoreCopiesAsync( string treeId, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupScheduler

Source (line 16).

public interface ILatticeBackupScheduler

  • Task<string?> TriggerFullBackupAsync(BackupScopeSelector scope)
  • Task<string?> TriggerIncrementalBackupAsync(BackupScopeSelector scope)
  • Task ScheduleRecurringBackupAsync(LatticeBackupScheduleRequest request)
  • Task CancelScheduleAsync(BackupScopeSelector scope, bool incremental)
  • Task EnsureScheduleAsync(BackupScopeSelector scope)
  • Task<BackupRetentionReport> PruneAsync(BackupScopeSelector scope)

Orleans.Lattice.Backup.ILatticeBackupSetResolver

Source (line 19).

public interface ILatticeBackupSetResolver

  • Task<IReadOnlyList<BackupSetMember>> ResolveMembersAsync( string setId, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupSink

Source (line 19).

public interface ILatticeBackupSink

  • bool IsDurable { get; }
  • Task WriteArtifactAsync( string artifactId, IAsyncEnumerable<ReadOnlyMemory<byte>> content, CancellationToken cancellationToken = default)
  • IAsyncEnumerable<ReadOnlyMemory<byte>> ReadArtifactAsync( string artifactId, CancellationToken cancellationToken = default)
  • Task<bool> DeleteArtifactAsync(string artifactId, CancellationToken cancellationToken = default)
  • IAsyncEnumerable<string> ListArtifactIdsAsync(CancellationToken cancellationToken = default)
  • Task WriteManifestAsync(BackupManifest manifest, CancellationToken cancellationToken = default)
  • Task<BackupManifest?> ReadManifestAsync(string backupId, CancellationToken cancellationToken = default)
  • IAsyncEnumerable<BackupManifest> ListManifestsAsync(CancellationToken cancellationToken = default)
  • Task<bool> ManifestExistsAsync(string backupId, CancellationToken cancellationToken = default)
  • Task<BackupSinkResolution> ProbeAsync(string backupId, CancellationToken cancellationToken = default)
  • Task<bool> DeleteManifestAsync(string backupId, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeBackupTenantScope

Source (line 29).

public interface ILatticeBackupTenantScope

  • bool IsActive { get; }
  • void AuthorizeCapture(string treeId)
  • void AuthorizeRestoreTarget(string treeId)
  • ValueTask<IBackupRestoreAdmission> BeginRestoreAsync( string targetTreeId, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.ILatticeCoordinatedRestoreEngine

Source (line 20).

public interface ILatticeCoordinatedRestoreEngine

  • Task<RestoreAdmissionReport> ProbeAdmissionAsync( LatticeRestoreRequest request, CancellationToken cancellationToken = default)
  • Task<LatticeRestoreResult> BuildShadowAsync( LatticeRestoreRequest request, CancellationToken cancellationToken = default)
  • Task CommitShadowAsync( LatticeRestoreResult shadow, CancellationToken cancellationToken = default)
  • Task DeleteShadowAsync( string shadowPhysicalTreeId, CancellationToken cancellationToken = default)
  • string ResolveShadowTreeId(LatticeRestoreRequest request)

Orleans.Lattice.Backup.IReplicatedTreeMembership

Source (line 18).

public interface IReplicatedTreeMembership

  • bool IsReplicated(string treeId)
  • IReadOnlyCollection<string> ReplicatedTrees { get; }

Orleans.Lattice.Backup.IRestoreSagaDispatcher

Source (line 23).

public interface IRestoreSagaDispatcher

  • Task<LatticeRestoreResult?> TryDispatchAsync( LatticeRestoreRequest request, CancellationToken cancellationToken = default)
  • Task<IReadOnlyList<LatticeRestoreResult>?> TryDispatchSetAsync( string setId, LatticeRestoreMode mode, CancellationToken cancellationToken = default)

Orleans.Lattice.Backup.LatticeBackupCaptureRequest

Source (line 12).

public sealed record LatticeBackupCaptureRequest

  • public const int DefaultPageSize
  • public LatticeBackupCaptureRequest(string name, BackupScopeSelector scope, int pageSize = DefaultPageSize)
  • public string Name { get; init; }
  • public BackupScopeSelector Scope { get; init; }
  • public int PageSize { get; init; }

Orleans.Lattice.Backup.LatticeBackupCaptureResult

Source (line 9).

public sealed record LatticeBackupCaptureResult

  • public LatticeBackupCaptureResult(string backupId, BackupManifest manifest)
  • public string BackupId { get; init; }
  • public BackupManifest Manifest { get; init; }

Orleans.Lattice.Backup.LatticeBackupCrossTreeFenceException

Source (line 14).

public sealed class LatticeBackupCrossTreeFenceException : Exception

  • public LatticeBackupCrossTreeFenceException(string message)
  • public LatticeBackupCrossTreeFenceException(string message, Exception innerException)

Orleans.Lattice.Backup.LatticeBackupHealthOptions

Source (line 17).

public sealed class LatticeBackupHealthOptions

  • public static readonly TimeSpan MinimumInterval
  • public static readonly TimeSpan DefaultSweepInterval
  • public bool Enabled { get; set; }
  • public TimeSpan DefaultInterval { get; set; }

Orleans.Lattice.Backup.LatticeBackupIncrementalCaptureRequest

Source (line 11).

public sealed record LatticeBackupIncrementalCaptureRequest

  • public LatticeBackupIncrementalCaptureRequest( string name, BackupScopeSelector scope, string baseBackupId, int pageSize = LatticeBackupCaptureRequest.DefaultPageSize)
  • public string Name { get; init; }
  • public BackupScopeSelector Scope { get; init; }
  • public string BaseBackupId { get; init; }
  • public int PageSize { get; init; }

Orleans.Lattice.Backup.LatticeBackupMetrics

Source (line 33).

public static class LatticeBackupMetrics

  • public const string TagScope
  • public const string TagPhase
  • public const string TagReason
  • public const string TagKind
  • public const string PhaseSnapshotOpen
  • public const string PhaseExport
  • public const string PhaseSinkWrite
  • public const string PhaseManifestCommit
  • public const string PhaseRead
  • public const string PhaseMerge
  • public const string PhaseVerify
  • public const string ReasonPermissionDenied
  • public const string ReasonSaturation
  • public const string ReasonSinkIoError
  • public const string ReasonIntegrityMismatch
  • public const string ReasonCancellation
  • public const string ReasonUnknown
  • public const string ReasonIncrementalFallback
  • public const string ReasonCrossTreeFence
  • public static readonly Counter<long> Captures
  • public static readonly Histogram<long> BackupBytes
  • public static readonly Histogram<long> BackupArtifacts
  • public static readonly Histogram<long> BackupEntries
  • public static readonly Counter<long> EntriesProcessed
  • public static readonly Counter<long> BytesProcessed
  • public static readonly Counter<long> RetentionBytesReclaimed
  • public static readonly Counter<long> RetentionPruned
  • public static readonly Histogram<double> CaptureDuration
  • public static readonly Histogram<double> RestoreDuration
  • public static readonly Counter<long> RestoreEntriesApplied
  • public static readonly Histogram<long> IncrementalLagEntries
  • public static readonly Histogram<double> IncrementalLagAge
  • public static readonly Counter<long> CaptureFailures
  • public static readonly Counter<long> RestoreFailures
  • public static readonly Counter<long> CaptureRetries
  • public static readonly Counter<long> SchedulerSkipped
  • public static readonly Counter<long> SchedulerOverruns
  • public static readonly Counter<long> SchedulerFailures
  • public static KeyValuePair<string, object?> KindTag(BackupKind kind)
  • public static void RecordCaptureSuccess( BackupManifest manifest, double durationMs, long byteLength, int artifactCount, int entryCount)
  • public static void RecordIncrementalLag(long deltaEntries, double baseCutAgeMs)
  • public static void RecordRestoreSuccess(double durationMs, long entriesApplied)
  • public static void RecordRetention(string scopeKey, long bytesReclaimed, int prunedCount)
  • public static void RecordSchedulerSkipped(string scopeKey)
  • public static void RecordSchedulerOverrun(string scopeKey)
  • public static void RecordSchedulerFailure(string scopeKey, string reason)
  • public static void RecordCaptureRetry(string reason)
  • public static bool EmitCaptureFailure(BackupKind kind, string phase, Exception exception)
  • public static bool EmitRestoreFailure(string phase, Exception exception)
  • public static string MapReason(Exception exception)

Orleans.Lattice.Backup.LatticeBackupOptions

Source (line 9).

public sealed class LatticeBackupOptions

  • public HistoryRetentionMode HistoryRetentionMode { get; set; }
  • public TimeSpan? HistoryRetentionWindow { get; set; }
  • public bool EnableDurableHistoryView { get; set; }
  • public bool EnableBackupCatalogIndexView { get; set; }
  • public TimeSpan CrossTreeFenceDrainTimeout { get; set; }
  • public TimeSpan CrossTreeFencePollInterval { get; set; }
  • public int MaxCrossTreeFenceAttempts { get; set; }
  • public long CrossTreeSetPinnedEntryBudget { get; set; }
  • public int SetScheduleFenceRetries { get; set; }
  • public TimeSpan SetScheduleFenceRetryDelay { get; set; }
  • public BackupSinkSharingEnforcement SinkSharingEnforcement { get; set; }
  • public TimeSpan SinkSharingProbeTimeout { get; set; }
  • public TimeSpan? RestoreRevertRetention { get; set; }
  • public TimeSpan? RestoreCopySweepInterval { get; set; }

Orleans.Lattice.Backup.LatticeBackupReservedTrees

Source (line 11).

public static class LatticeBackupReservedTrees

  • public static string Prefix
  • public static bool IsReserved(string treeId)
  • public static void ThrowIfReserved(string treeId, string? paramName = null)

Orleans.Lattice.Backup.LatticeBackupScheduleOptions

Source (line 22).

public sealed class LatticeBackupScheduleOptions

  • public static readonly TimeSpan MinimumInterval
  • public static readonly TimeSpan DefaultFullBackupInterval
  • public static readonly TimeSpan DefaultIncrementalBackupInterval
  • public bool FullBackupScheduleEnabled { get; set; }
  • public TimeSpan FullBackupInterval { get; set; }
  • public bool IncrementalBackupScheduleEnabled { get; set; }
  • public TimeSpan IncrementalBackupInterval { get; set; }
  • public bool RetentionEnabled { get; set; }
  • public int? RetentionKeepLast { get; set; }
  • public TimeSpan? RetentionMaxAge { get; set; }

Orleans.Lattice.Backup.LatticeBackupScheduleRequest

Source (line 12).

public sealed record LatticeBackupScheduleRequest

  • public LatticeBackupScheduleRequest(BackupScopeSelector scope, bool incremental, TimeSpan interval)
  • public BackupScopeSelector Scope { get; init; }
  • public bool Incremental { get; init; }
  • public TimeSpan Interval { get; init; }

Orleans.Lattice.Backup.LatticeBackupServiceCollectionExtensions

Source (line 13).

public static class LatticeBackupServiceCollectionExtensions

  • public static ISiloBuilder AddLatticeBackup( this ISiloBuilder builder, Action<LatticeBackupOptions>? configure = null)
  • public static ISiloBuilder ConfigureLatticeBackup( this ISiloBuilder builder, Action<LatticeBackupOptions> configure)
  • public static ISiloBuilder ConfigureLatticeBackupSchedule( this ISiloBuilder builder, Action<LatticeBackupScheduleOptions> configure)
  • public static ISiloBuilder ConfigureLatticeBackupSchedule( this ISiloBuilder builder, string scopeKey, Action<LatticeBackupScheduleOptions> configure)
  • public static ISiloBuilder ConfigureLatticeBackupHealth( this ISiloBuilder builder, Action<LatticeBackupHealthOptions> configure)

Orleans.Lattice.Backup.LatticeBackupSetCaptureRequest

Source (line 15).

public sealed record LatticeBackupSetCaptureRequest

  • public LatticeBackupSetCaptureRequest( string name, IReadOnlyList<BackupScopeSelector> scopes, bool crossTreeConsistent = false, int pageSize = LatticeBackupCaptureRequest.DefaultPageSize)
  • public string Name { get; init; }
  • public IReadOnlyList<BackupScopeSelector> Scopes { get; init; }
  • public bool CrossTreeConsistent { get; init; }
  • public int PageSize { get; init; }

Orleans.Lattice.Backup.LatticeBackupSetCaptureResult

Source (line 9).

public sealed record LatticeBackupSetCaptureResult

  • public LatticeBackupSetCaptureResult( BackupSetManifest setManifest, IReadOnlyList<LatticeBackupCaptureResult> members)
  • public BackupSetManifest SetManifest { get; init; }
  • public IReadOnlyList<LatticeBackupCaptureResult> Members { get; init; }

Orleans.Lattice.Backup.LatticeBackupSetScheduleRequest

Source (line 17).

public sealed record LatticeBackupSetScheduleRequest

  • public const int MaxNameLength
  • public LatticeBackupSetScheduleRequest( string name, BackupSetMembershipMode membership, IReadOnlyList<BackupScopeSelector>? scopes, TimeSpan interval, int? retentionKeepLast, TimeSpan? retentionMaxAge, bool crossTreeConsistent = true, bool includeNewTrees = true, IReadOnlyList<string>? excludedTreePrefixes = null)
  • public string Name { get; init; }
  • public BackupSetMembershipMode Membership { get; init; }
  • public IReadOnlyList<BackupScopeSelector> Scopes { get; init; }
  • public TimeSpan Interval { get; init; }
  • public int? RetentionKeepLast { get; init; }
  • public TimeSpan? RetentionMaxAge { get; init; }
  • public bool CrossTreeConsistent { get; init; }
  • public bool IncludeNewTrees { get; init; }
  • public IReadOnlyList<string> ExcludedTreePrefixes { get; init; }
  • public static LatticeBackupSetScheduleRequest ForTrees( string name, IReadOnlyList<BackupScopeSelector> scopes, TimeSpan interval, int? retentionKeepLast, TimeSpan? retentionMaxAge, bool crossTreeConsistent = true)
  • public static LatticeBackupSetScheduleRequest ForAllTrees( string name, TimeSpan interval, bool includeNewTrees, int? retentionKeepLast, TimeSpan? retentionMaxAge, IReadOnlyList<string>? excludedTreePrefixes = null, bool crossTreeConsistent = true)
  • public static void ValidateName(string name)

Orleans.Lattice.Backup.LatticeBackupTenantIsolationException

Source (line 19).

public sealed class LatticeBackupTenantIsolationException : InvalidOperationException, ILatticeDomainFault

  • public LatticeBackupTenantIsolationException(string message)
  • public LatticeBackupTenantIsolationException(string message, Exception innerException)

Orleans.Lattice.Backup.LatticeRestoreCopyAudit

Source (line 10).

public sealed record LatticeRestoreCopyAudit

  • public required string TreeId { get; init; }
  • public required string AliasTargetPhysicalTreeId { get; init; }
  • public string? RevertTargetPhysicalTreeId { get; init; }
  • public DateTimeOffset? RevertCommittedAtUtc { get; init; }
  • public IReadOnlyList<string> RetirablePhysicalTreeIds { get; init; }
  • public IReadOnlyList<string> RestoreShadowPhysicalTreeIds { get; init; }
  • public LatticeRestoreCopyHold Hold { get; init; }

Orleans.Lattice.Backup.LatticeRestoreCopyHold

Source (line 8).

public enum LatticeRestoreCopyHold

  • None = 0
  • UnknownRevertTarget = 1
  • ForeignAliasTarget = 2
  • TreeNotRegistered = 3

Orleans.Lattice.Backup.LatticeRestoreMode

Source (line 6).

public enum LatticeRestoreMode

  • InPlace = 0
  • ShadowCutover = 1

Orleans.Lattice.Backup.LatticeRestoreRequest

Source (line 13).

public sealed record LatticeRestoreRequest

  • public const int DefaultApplyBatchSize
  • public LatticeRestoreRequest( string backupId, string? targetTreeId = null, BackupScopeSelector? scope = null, LatticeRestoreMode mode = LatticeRestoreMode.InPlace, string? operationId = null, int applyBatchSize = DefaultApplyBatchSize)
  • public string BackupId { get; init; }
  • public string? TargetTreeId { get; init; }
  • public BackupScopeSelector? Scope { get; init; }
  • public LatticeRestoreMode Mode { get; init; }
  • public string? OperationId { get; init; }
  • public int ApplyBatchSize { get; init; }

Orleans.Lattice.Backup.LatticeRestoreResult

Source (line 11).

public sealed record LatticeRestoreResult

  • public LatticeRestoreResult( string backupId, string targetTreeId, LatticeRestoreMode mode, string operationId, IReadOnlyList<string> manifestChain, long entriesApplied, string? shadowPhysicalTreeId = null, string? previousPhysicalTreeId = null, long deadLetteredCrossTenant = 0, long deadLetteredOverQuota = 0)
  • public string BackupId { get; init; }
  • public string TargetTreeId { get; init; }
  • public LatticeRestoreMode Mode { get; init; }
  • public string OperationId { get; init; }
  • public IReadOnlyList<string> ManifestChain { get; init; }
  • public long EntriesApplied { get; init; }
  • public string? ShadowPhysicalTreeId { get; init; }
  • public string? PreviousPhysicalTreeId { get; init; }
  • public long DeadLetteredCrossTenant { get; init; }
  • public long DeadLetteredOverQuota { get; init; }

Orleans.Lattice.Backup.LatticeRestoreValidationException

Source (line 14).

public sealed class LatticeRestoreValidationException : InvalidOperationException, ILatticeDomainFault

  • public LatticeRestoreValidationException(string message)
  • public LatticeRestoreValidationException(string message, Exception innerException)

Orleans.Lattice.Backup.RestoreAdmissionReport

Source (line 11).

public sealed class RestoreAdmissionReport

  • public RestoreAdmissionReport( string backupId, string targetTreeId, long totalByteLength, long totalChunkCount, int shardCount, IReadOnlyList<string> manifestChain)
  • public string BackupId { get; }
  • public string TargetTreeId { get; }
  • public long TotalByteLength { get; }
  • public long TotalChunkCount { get; }
  • public int ShardCount { get; }
  • public IReadOnlyList<string> ManifestChain { get; }
  • public IReadOnlyList<string> SourceTreeIds { get; init; }

Orleans.Lattice.Backup.ScheduledBackupSet

Source (line 10).

public sealed record ScheduledBackupSet

  • public ScheduledBackupSet( string setId, string name, DateTimeOffset createdAtUtc, DateTimeOffset lastCapturedAtUtc, bool crossTreeConsistent, IReadOnlyList<ScheduledBackupSetMember> members)
  • public string SetId { get; init; }
  • public string Name { get; init; }
  • public DateTimeOffset CreatedAtUtc { get; init; }
  • public DateTimeOffset LastCapturedAtUtc { get; init; }
  • public bool CrossTreeConsistent { get; init; }
  • public IReadOnlyList<ScheduledBackupSetMember> Members { get; init; }

Orleans.Lattice.Backup.ScheduledBackupSetMember

Source (line 7).

public sealed record ScheduledBackupSetMember

  • public ScheduledBackupSetMember(BackupScopeSelector scope, string backupId)
  • public BackupScopeSelector Scope { get; init; }
  • public string BackupId { get; init; }
  • public string TreeId