Manifests and descriptors
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 manifests-and-descriptors.md, and llms.txt lists every page.Part of Orleans.Lattice.Backup API reference.
BackupManifest
The self-describing record of one backup.
- Constructor:
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). Validates thatidis non-empty and free of the reserved unit-separator (U+001F); thatstructuralDigestis non-empty; that anIncrementalbackup carries a non-emptybaseBackupIdand aFullbackup carries none; and null-checks the reference-type members. - Properties:
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,BackupCompressionDictionaryRef? CompressionDictionary,string? SetId,string? SetName,DateTimeOffset? SetCreatedAtUtc,string? CapturingClusterId,DateTimeOffset? LastCapturedAtUtc.SetId,SetName, andSetCreatedAtUtcare non-null only on a backup captured as a member of a multi-tree set: every member of one set shares the same values, so a catalog consumer can group the per-tree members into a single logical entry from a first-class fact rather than inferring it from the backup name, and the catalog index orders the members to one shared position. They are stamped when the set is captured, and a member's catalog row is first registered by that stamp; because re-registering a backup id replaces every field except the capture times (seeILatticeBackupCatalogStore.RegisterAsync), a later capture that reproduces a member's bytes - a standalone capture of the unchanged tree, or its capture into another set - re-registers that member with the later capture's set fields. A member of a set that fails, or of a discarded cross-tree attempt, is registered with them null. A single-tree set leaves them null, so it lists as an ordinary backup.CapturingClusterIdnames the cluster that authored the capture (distinct from the per-entry origins inProvenance); it is stamped on every capture, an incremental inherits its base's value so a whole chain shares one stamp, andnullmarks a manifest captured before the stamp existed (read as the local cluster).LastCapturedAtUtcis when the backup was last captured, ornullwhile it has been captured only once: a capture that reproduces a backup's bytes republishes it, keeping its firstCreatedAtUtc, and records itself here. Retention ranks a backup by the later of the two, so a backup a capture has just returned is never pruned as old; a manifest written before the field existed ranks byCreatedAtUtc.
BackupConsistencyCut
The causal cut a backup was taken as of.
- Constructor:
BackupConsistencyCut(long walSequence, long hlcTimestamp, IReadOnlyDictionary<string, long>? perOriginFrontier = null, IReadOnlyDictionary<int, long>? walPartitionOffsets = null, IReadOnlyList<Guid>? undecidedSagaIds = null). ThrowsArgumentOutOfRangeExceptionwhenwalSequenceorhlcTimestampis negative. - Properties:
long WalSequence,long HlcTimestamp,IReadOnlyDictionary<string, long>? PerOriginFrontier,IReadOnlyDictionary<int, long>? WalPartitionOffsets(the per-partition resume offsets an incremental layers on),IReadOnlyList<Guid>? UndecidedSagaIds(the atomic writes the capture held pre-saga because they were undecided at its decision gate;nullfor a manifest captured before the field existed).HlcTimestampis the wall-clock component of the highest hybrid-logical-clock stamp the capture read - over the captured entries for a full backup, over the drained delta for an incremental (never below its base's) - and0only when the capture (with its whole chain) read nothing, or for a full backup captured by a build that predates this frontier. It is also the frontier an incremental pins the WAL at while it drains forward from its base. - What a capture records besides
HlcTimestamp: a full capture setsWalSequenceto the highest next-to-assign WAL offset across the shards and partitions its snapshot covered, andWalPartitionOffsetsto the per-partition WAL heads read just before the snapshot opened. An incremental setsWalPartitionOffsetsto the per-partition frontier its drain reached - held back to the first record of any atomic write it left out because the write was still undecided, so the next incremental reads that write again - andWalSequenceto the highest of those offsets. Both kinds setUndecidedSagaIds: a full capture to the atomic writes pending and undecided in its snapshot, an incremental to those of its base's that are still undecided, so the next incremental looks each one up (#4589).PerOriginFrontierisnullwhen the captured entries name no origin.
BackupTopologySnapshot
- Constructor:
BackupTopologySnapshot(int shardCount, int virtualShardCount, IReadOnlyList<string> shardRootDigests). ThrowsArgumentOutOfRangeExceptionwhenshardCountorvirtualShardCountis not positive,ArgumentNullExceptionwhenshardRootDigestsis null. - Properties:
int ShardCount,int VirtualShardCount,IReadOnlyList<string> ShardRootDigests. - What a capture records: all three come from the tree's routing map at the capture.
ShardCountis the number of physical shards the map names,VirtualShardCountis the map's slot count (4096 unless the tree was created with a declared virtual shard count), andShardRootDigestsholds one digest per physical shard in ascending shard-index order - the digest of the captured range on that shard, ornodigest-{index}when the tree does not maintain projection digests. The indices need not be contiguous: a shard consolidation that folds a shard away leaves a gap.
BackupKeyDescriptor
Per-key shape and merge mode.
- Constructor:
BackupKeyDescriptor(string key, BackupKeyMergeMode mergeMode, string? originId = null). ThrowsArgumentExceptionwhenkeyis null/empty. - Properties:
string Key,BackupKeyMergeMode MergeMode,string? OriginId.
BackupContentDescriptor
Describes one stored artifact.
- Constructor:
BackupContentDescriptor(string artifactId, string contentHash, long byteLength, int chunkCount, BackupScopeSelector scope). ThrowsArgumentException(artifactIdorcontentHashnull/empty),ArgumentOutOfRangeException(byteLengthorchunkCountnegative),ArgumentNullException(scopenull). - Properties:
string ArtifactId,string ContentHash,long ByteLength,int ChunkCount,BackupScopeSelector Scope.
BackupOriginProvenance
Per-origin high-water mark.
- Constructor:
BackupOriginProvenance(string originId, long highWaterSequence). ThrowsArgumentException(originIdnull/empty),ArgumentOutOfRangeException(highWaterSequencenegative). - Properties:
string OriginId,long HighWaterSequence.
BackupCompressionDictionaryRef
Reference to the compression dictionary a backup's artifacts were encoded against.
- Constructor:
BackupCompressionDictionaryRef(string dictionaryId, string digest). ThrowsArgumentExceptionwhen either is null/empty. - Properties:
string DictionaryId,string Digest.
BackupSetManifest
The record grouping a backup set's members.
- Constructor:
BackupSetManifest(string? setId, string name, DateTimeOffset createdAtUtc, bool crossTreeConsistent, BackupSetFence? fence, IReadOnlyList<string> memberBackupIds). ThrowsArgumentException(setIdempty,namenull/empty,memberBackupIdsempty),ArgumentNullException(memberBackupIdsnull). AnullsetIdis the absence of an id and is accepted; an empty one is a malformed id and is rejected. - Properties:
string? SetId,string Name,DateTimeOffset CreatedAtUtc,bool CrossTreeConsistent,BackupSetFence? Fence,IReadOnlyList<string> MemberBackupIds. SetIdis non-null only for a set spanning two or more trees. Membership is durable only as the per-memberBackupManifest.SetIdstamp, and a single-member set is deliberately left unstamped, so it reports no id rather than one that matches no catalog row. A non-nullSetIdhere therefore equals theSetIdstamped on every member's catalogued manifest when the set was captured.
BackupSetFence
The selected cross-tree causal fence of a cross-tree-consistent set.
- Constructor:
BackupSetFence(long hlcTimestamp, int drainedInFlightCount, double drainWaitMilliseconds, int attempts). ThrowsArgumentOutOfRangeExceptionwhenhlcTimestamp,drainedInFlightCount, ordrainWaitMillisecondsis negative, orattemptsis not positive. - Properties:
long HlcTimestamp(the wall-clock tick count at which the fence was selected),int DrainedInFlightCount,double DrainWaitMilliseconds,int Attempts.