Public API
This page documents Orleans.Lattice.Api.TreeAdmin 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 api.md, and llms.txt lists every page.The package implements the shared ILatticeTreeAdmin, ILatticeTreeAdminOperations, ILatticeStorageUsageOperations and ILatticeWalReclamation contracts. Their model types live in Orleans.Lattice.Api.Abstractions; the declarations below include that shared tree-administration family. The facade guide explains scope, authorization and request behavior.
Registration and authority
AddLatticeTreeAdminApi registers the in-process facades and options. Call it after AddLatticeSchemaApi on the same silo builder: registration checks for ILatticeSchemaControl and fails immediately if it is absent. It composes that facade for schema-policy methods. LatticeApiTreeAdminOptions currently exposes no tunable properties. Transport bindings register/map their own endpoints and authorization; they do not replace the core facade's access gate.
Read and mutation operations are not one undifferentiated admin grant: the surface distinguishes tree lifecycle, schema management, telemetry and view/source-tree administration. See the exact method guide and operation guide before granting cluster authority.
Immediate calls and tracked operations
Tree configuration, statistics, schema and WAL-reclamation diagnostics remain direct request/response calls. Long-running view rebuild/reconcile, tag-index repair, WAL move, whole-tree orphaned-leaf audit/repair and storage-usage refresh use accept-then-poll operations with an idempotency id, progress/status and result data. Cancellation of a start request is not cancellation of the recorded operation; use the operation cancellation contract.
A bulk load (tree creation from sorted data) is a session: BeginBulkLoadAsync, one AppendBulkLoadAsync per strictly ascending chunk, then CommitBulkLoadAsync. BulkLoadStreamAsync drives that whole session from an IAsyncEnumerable<DataEntry>, chunking it by TreeBulkLoadStreamOptions.ChunkSize (1,000 by default), checking that keys stay ascending across chunk boundaries (BulkLoadOrderException), and reporting each acknowledged chunk; memory is bounded by the chunk, never by the stream. It is a default interface member over the three session calls, so an existing implementer streams without change; the gRPC binding streams the session over one duplex call that resumes from the last acknowledged chunk when the transport drops. Set FirstChunkIndex to resume a session yourself. Used by the Explorer's seed import (issue #5365).
Use StorageUsageRefreshResults.TryReadSummary for cluster totals and the public operation result helpers for other results. A WAL move does not reclaim the old provider's tail automatically: reclamation is a separate irreversible finalization, and ILatticeWalReclamation diagnoses the durable pin/leaf state that controls trimming.
Related
Public declaration 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.Api.TreeAdmin.LatticeApiTreeAdminOptions
Source (line 14).
public sealed class LatticeApiTreeAdminOptions
Orleans.Lattice.Api.TreeAdmin.LatticeApiTreeAdminServiceCollectionExtensions
Source (line 13).
public static class LatticeApiTreeAdminServiceCollectionExtensions
public static ISiloBuilder AddLatticeTreeAdminApi( this ISiloBuilder builder, Action<LatticeApiTreeAdminOptions>? configure = null)
Shared contract declaration reference
These types are declared in the shared contract package, where the Orleans.Lattice.Api.Abstractions public API places the Orleans.Lattice.Api.TreeAdmin namespace among every other facade namespace.
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.Api.TreeAdmin.ApiTreeAdminTypeAliases
Source (line 16).
public static class ApiTreeAdminTypeAliases
public const string AliasPrefixpublic const string LatticeTreeAdminCapabilitiespublic const string ShardHotnessSnapshotpublic const string TreeHotnessReportpublic const string ShardDiagnosticSnapshotpublic const string TreeAdminDiagnosticReportpublic const string ShardMapInspectionpublic const string ShardProjectionDigestReportpublic const string TreeStatsReportpublic const string TreeStorageUsageSnapshotpublic const string ClusterStorageUsageSummarypublic const string TreeCreationResultpublic const string TreeExistenceResultpublic const string TreeAliasResolutionpublic const string TreeConfigurationReportpublic const string TreeConfigurationUpdatepublic const string TreeShardMapViewpublic const string TreeDeletionStatuspublic const string TreeBulkLoadSessionpublic const string TreeBulkLoadChunkAckpublic const string TreeBulkLoadResultpublic const string TreeRestoreModepublic const string TreeRestoreResultpublic const string TreeRestoreSetResultpublic const string TreeReshardStatuspublic const string TreeResizeStatuspublic const string TreeSnapshotModepublic const string TreeSnapshotStatuspublic const string TreeWalPlacementpublic const string TreeWalPartitionPlacementpublic const string TreeWalPlacementAuditpublic const string TreeWalMovePlanpublic const string TreeWalMoveReceiptpublic const string TreeWalMoveOutcomepublic const string TreeWalMoveOptionspublic const string TreeViewStatuspublic const string TreeViewInfopublic const string TreeViewCatalogpublic const string TreeViewReconcileResultpublic const string TreeViewProviderCatalogpublic const string TreeViewProviderInfopublic const string TreeViewProviderFieldpublic const string TreeViewProviderFieldKindpublic const string TreeTagIndexInfopublic const string TreeTagIndexCatalogpublic const string TreeTagIndexStatuspublic const string TreeTagReconcileReportpublic const string TreeHistoryRetentionModepublic const string TreeHistoryRetentionpublic const string TreeCompactionTriggerResultpublic const string TreeOrphanedLeafDispositionpublic const string TreeOrphanedLeafFindingpublic const string TreeOrphanedLeafReportpublic const string TreeOrphanedLeafGappublic const string TreeOrphanedLeafGapReasonpublic const string TreeResizePhasepublic const string TreeSnapshotPhasepublic const string TreeWalReclamationReportpublic const string TreeWalFloorHolderpublic const string TreeWalFloorHolderState
Orleans.Lattice.Api.TreeAdmin.BulkLoadOrderException
Source (line 12).
public sealed class BulkLoadOrderException : Exception
public BulkLoadOrderException(string treeId, long chunkIndex, string offendingKey, string precedingKey)public string TreeId { get; }public long ChunkIndex { get; }public string OffendingKey { get; }public string PrecedingKey { get; }
Orleans.Lattice.Api.TreeAdmin.ClusterStorageUsageSummary
Source (line 12).
public sealed record ClusterStorageUsageSummary
public int TreeCount { get; init; }public long WalRetainedBytes { get; init; }public long SnapshotBytes { get; init; }public long LeafStateBytes { get; init; }public long TotalBytes { get; init; }public bool Partial { get; init; }public bool Deep { get; init; }public DateTimeOffset SampledAt { get; init; }public ImmutableArray<TreeStorageUsageSnapshot> Trees { get; init; }public bool Stale { get; init; }
Orleans.Lattice.Api.TreeAdmin.ILatticeStorageUsageOperations
Source (line 25).
public interface ILatticeStorageUsageOperations : ILatticeOperations
Task<LatticeOperationHandle> StartStorageUsageRefreshAsync( string? operationId = null, CancellationToken cancellationToken = default)
Orleans.Lattice.Api.TreeAdmin.ILatticeTreeAdmin
Source (line 43).
public interface ILatticeTreeAdmin
Task<LatticeTreeAdminCapabilities> ProbeCapabilitiesAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeHotnessReport> GetShardHotnessAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeAdminDiagnosticReport> GetDiagnosticsAsync( string treeId, bool deep = false, CancellationToken cancellationToken = default)Task<ShardMapInspection> InspectShardMapAsync( string treeId, CancellationToken cancellationToken = default)Task<ShardProjectionDigestReport> GetProjectionDigestAsync( string treeId, int shardIndex, CancellationToken cancellationToken = default)Task<TreeStatsReport> GetTreeStatsAsync( string treeId, CancellationToken cancellationToken = default)Task<ClusterStorageUsageSummary> GetStorageUsageAsync( bool deep = false, CancellationToken cancellationToken = default)Task<TreeCreationResult> CreateTreeAsync( string treeId, int? shardCount = null, int? maxLeafKeys = null, int? maxInternalChildren = null, CancellationToken cancellationToken = default)Task<TreeExistenceResult> CheckTreeExistsAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeAliasResolution> SetTreeAliasAsync( string treeId, string physicalTreeId, CancellationToken cancellationToken = default)Task<TreeAliasResolution> ResolveTreeAliasAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeConfigurationReport> GetTreeConfigAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeConfigurationReport> SetTreeConfigAsync( string treeId, TreeConfigurationUpdate update, CancellationToken cancellationToken = default)Task<TreeShardMapView> GetShardMapAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeDeletionStatus> DeleteTreeAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeDeletionStatus> RecoverTreeAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeDeletionStatus> PurgeTreeAsync( string treeId, bool confirm, CancellationToken cancellationToken = default)Task<TreeDeletionStatus> GetTreeDeletionStatusAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeBulkLoadSession> BeginBulkLoadAsync( string treeId, string operationId, CancellationToken cancellationToken = default)Task<TreeBulkLoadChunkAck> AppendBulkLoadAsync( string treeId, string operationId, long chunkIndex, IReadOnlyList<DataEntry> entries, CancellationToken cancellationToken = default)Task<TreeBulkLoadResult> CommitBulkLoadAsync( string treeId, string operationId, CancellationToken cancellationToken = default)Task<TreeBulkLoadResult> BulkLoadStreamAsync( string treeId, string operationId, IAsyncEnumerable<DataEntry> sortedEntries, IProgress<TreeBulkLoadChunkAck>? progress = null, TreeBulkLoadStreamOptions? options = null, CancellationToken cancellationToken = default)(default interface member)Task<TreeRestoreResult> RestoreTreeAsync( string treeId, string backupId, string? operationId = null, CancellationToken cancellationToken = default)Task<IReadOnlyList<TreeRestoreResult>> RestoreTreeSetAsync( string setId, CancellationToken cancellationToken = default)Task RevertTreeRestoreAsync( TreeRestoreResult restore, CancellationToken cancellationToken = default)Task<TreeReshardStatus> ReshardTreeAsync( string treeId, int targetShardCount, CancellationToken cancellationToken = default)Task<TreeReshardStatus> GetReshardStatusAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeResizeStatus> ResizeTreeAsync( string treeId, int newMaxLeafKeys, int newMaxInternalChildren, CancellationToken cancellationToken = default)Task<TreeResizeStatus> UndoTreeResizeAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeResizeStatus> GetResizeStatusAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeSnapshotStatus> SnapshotTreeAsync( string treeId, string destinationTreeId, TreeSnapshotMode mode, int? maxLeafKeys = null, int? maxInternalChildren = null, CancellationToken cancellationToken = default)Task<TreeSnapshotStatus> GetSnapshotStatusAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeWalPlacement> GetWalPlacementAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeWalPlacementAudit> AuditWalPlacementAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeOrphanedLeafReport> AuditOrphanedLeavesAsync( string treeId, string? resumeFrom = null, CancellationToken cancellationToken = default)Task<TreeOrphanedLeafReport> SurveyOrphanedLeavesAsync( string treeId, string? resumeFrom = null, CancellationToken cancellationToken = default)Task<TreeOrphanedLeafReport> RepairOrphanedLeavesAsync( string treeId, string? resumeFrom = null, CancellationToken cancellationToken = default)Task<TreeWalMovePlan> PlanWalMoveAsync( string treeId, int partition, string targetProviderKey, CancellationToken cancellationToken = default)Task<TreeWalMoveReceipt> ReclaimMovedWalSourceAsync( string treeId, int partition, string sourceProviderKey, CancellationToken cancellationToken = default)Task<TreeViewCatalog> ListViewsAsync( CancellationToken cancellationToken = default)Task<TreeViewProviderCatalog> ListViewProvidersAsync(string sourceTreeId, CancellationToken cancellationToken = default)Task<TreeViewStatus> CreateViewAsync( string viewName, string sourceTreeId, string providerKey, byte[] payload, CancellationToken cancellationToken = default)Task<TreeViewStatus> GetViewStatusAsync( string viewName, CancellationToken cancellationToken = default)Task DropViewAsync( string viewName, CancellationToken cancellationToken = default)Task<TreeTagIndexCatalog> ListTagIndexesAsync( CancellationToken cancellationToken = default)Task<TreeTagIndexStatus> GetTagIndexStatusAsync( string indexName, CancellationToken cancellationToken = default)Task<TreeCompactionTriggerResult> TriggerShardCompactionAsync( string treeId, int shardIndex, CancellationToken cancellationToken = default)Task<TreeHistoryRetention> GetHistoryRetentionAsync( string treeId, CancellationToken cancellationToken = default)Task<TreeHistoryRetention> SetHistoryRetentionAsync( string treeId, TreeHistoryRetentionMode? mode, TimeSpan? window, CancellationToken cancellationToken = default)
Orleans.Lattice.Api.TreeAdmin.ILatticeTreeAdminOperations
Source (line 37).
public interface ILatticeTreeAdminOperations : ILatticeOperations
Task<LatticeOperationHandle> StartViewRebuildAsync( string viewName, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartViewReconcileAsync( string viewName, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartTagIndexReconcileAsync( string indexName, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartWalMoveAsync( string treeId, int partition, string targetProviderKey, TreeWalMoveOptions? options = null, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartOrphanedLeavesAuditAsync( string treeId, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartOrphanedLeavesRepairAsync( string treeId, string? operationId = null, CancellationToken cancellationToken = default)
Orleans.Lattice.Api.TreeAdmin.ILatticeWalReclamation
Source (line 8).
public interface ILatticeWalReclamation
Task<TreeWalReclamationReport> GetWalReclamationAsync(string treeId, CancellationToken cancellationToken = default)
Orleans.Lattice.Api.TreeAdmin.LatticeTreeAdminCapabilities
Source (line 35).
public sealed record LatticeTreeAdminCapabilities
public required string TreeId { get; init; }public bool CanAdministerTree { get; init; }public bool CanManageTreeLifecycle { get; init; }public bool CanViewDiagnostics { get; init; }public required LatticeSchemaCapabilities Schema { get; init; }public bool CanBulkLoad { get; init; }public bool CanRestore { get; init; }public bool CanViewClusterTelemetry { get; init; }
Orleans.Lattice.Api.TreeAdmin.ShardDiagnosticSnapshot
Source (line 9).
public sealed record ShardDiagnosticSnapshot
public int ShardIndex { get; init; }public int Depth { get; init; }public bool RootIsLeaf { get; init; }public long LiveKeys { get; init; }public long Tombstones { get; init; }public double TombstoneRatio { get; init; }public double OpsPerSecond { get; init; }public long Reads { get; init; }public long Writes { get; init; }public double WindowSeconds { get; init; }public bool SplitInProgress { get; init; }public bool BulkOperationPending { get; init; }
Orleans.Lattice.Api.TreeAdmin.ShardHotnessSnapshot
Source (line 10).
public sealed record ShardHotnessSnapshot
public int ShardIndex { get; init; }public long Reads { get; init; }public long Writes { get; init; }public double OpsPerSecond { get; init; }public double WindowSeconds { get; init; }
Orleans.Lattice.Api.TreeAdmin.ShardMapInspection
Source (line 12).
public sealed record ShardMapInspection
public required string TreeId { get; init; }public required string PhysicalTreeId { get; init; }public int VirtualShardCount { get; init; }public int PhysicalShardCount { get; init; }public long MapVersion { get; init; }public ImmutableArray<int> PhysicalShardIndices { get; init; }public ImmutableArray<int> SlotCounts { get; init; }
Orleans.Lattice.Api.TreeAdmin.ShardProjectionDigestReport
Source (line 11).
public sealed record ShardProjectionDigestReport
public required string TreeId { get; init; }public int ShardIndex { get; init; }public required string HashHex { get; init; }public long EntryCount { get; init; }public long CheckpointOffset { get; init; }public long Version { get; init; }
Orleans.Lattice.Api.TreeAdmin.StorageUsageRefreshOperation
Source (line 9).
public static class StorageUsageRefreshOperation
public const string Kindpublic const string MeasuringPhasepublic const string TreesUnit
Orleans.Lattice.Api.TreeAdmin.StorageUsageRefreshResults
Source (line 13).
public static class StorageUsageRefreshResults
public const string TreeCountKeypublic const string WalRetainedBytesKeypublic const string SnapshotBytesKeypublic const string LeafStateBytesKeypublic const string TotalBytesKeypublic const string PartialKeypublic const string StaleKeypublic const string SampledAtKeypublic static IReadOnlyDictionary<string, string> ToResultMap(ClusterStorageUsageSummary summary)public static bool TryReadSummary(IReadOnlyDictionary<string, string> result, out ClusterStorageUsageSummary? summary)
Orleans.Lattice.Api.TreeAdmin.TreeAdminDiagnosticReport
Source (line 12).
public sealed record TreeAdminDiagnosticReport
public required string TreeId { get; init; }public int ShardCount { get; init; }public int VirtualShardCount { get; init; }public long TotalLiveKeys { get; init; }public long TotalTombstones { get; init; }public bool Deep { get; init; }public int RecentSplitCount { get; init; }public DateTimeOffset SampledAt { get; init; }public ImmutableArray<ShardDiagnosticSnapshot> Shards { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeAdminOperationKinds
Source (line 9).
public static class TreeAdminOperationKinds
public const string Prefixpublic const string ViewRebuildpublic const string ViewReconcilepublic const string TagIndexReconcilepublic const string WalMovepublic const string OrphanedLeavesAuditpublic const string OrphanedLeavesRepair
Orleans.Lattice.Api.TreeAdmin.TreeAdminOperationPhases
Source (line 11).
public static class TreeAdminOperationPhases
public const string Scanningpublic const string Projectingpublic const string Digestingpublic const string Comparingpublic const string Swappingpublic const string Probingpublic const string Repairingpublic const string Copyingpublic const string Verifyingpublic const string Flippingpublic const string Walking
Orleans.Lattice.Api.TreeAdmin.TreeAdminOperationResultKeys
Source (line 9).
public static class TreeAdminOperationResultKeys
public const string ViewNamepublic const string SourceTreeIdpublic const string DriftRepairedpublic const string IndexNamepublic const string TreesCoveredpublic const string KeysScannedpublic const string MembershipRowsScannedpublic const string OrphanRowsRemovedpublic const string TreeIdpublic const string Partitionpublic const string FromProviderKeypublic const string ToProviderKeypublic const string Outcomepublic const string PreviousPlacementVersionpublic const string NewPlacementVersionpublic const string CopiedFromOffsetpublic const string CopiedThroughOffsetpublic const string SourceHighestOffsetpublic const string TargetHighestOffsetpublic const string SourceRetainedpublic const string LeavesWalkedpublic const string OrphanedLeavespublic const string Repairedpublic const string Repairablepublic const string Refusedpublic const string Gaps
Orleans.Lattice.Api.TreeAdmin.TreeAdminOperationUnits
Source (line 9).
public static class TreeAdminOperationUnits
public const string Keyspublic const string Treespublic const string Entriespublic const string Shards
Orleans.Lattice.Api.TreeAdmin.TreeAliasResolution
Source (line 15).
public sealed record TreeAliasResolution
public required string TreeId { get; init; }public required string PhysicalTreeId { get; init; }public bool IsAliased { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeBulkLoadChunkAck
Source (line 9).
public sealed record TreeBulkLoadChunkAck
public required string TreeId { get; init; }public required string OperationId { get; init; }public required long ChunkIndex { get; init; }public required int AcceptedEntryCount { get; init; }public required long NextChunkIndex { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeBulkLoadResult
Source (line 11).
public sealed record TreeBulkLoadResult
public required string TreeId { get; init; }public required string OperationId { get; init; }public required long TotalLiveKeys { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeBulkLoadSession
Source (line 19).
public sealed record TreeBulkLoadSession
public required string TreeId { get; init; }public required string OperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeBulkLoadStreamOptions
Source (line 15).
public sealed record TreeBulkLoadStreamOptions
public const int DefaultChunkSizepublic const int MaxChunkSizepublic const int DefaultMaxUnacknowledgedChunkspublic const int DefaultMaxResumeAttemptspublic static TreeBulkLoadStreamOptions Default { get; }public int ChunkSize { get; init; }public long FirstChunkIndex { get; init; }public int MaxUnacknowledgedChunks { get; init; }public int MaxResumeAttempts { get; init; }public void Validate()
Orleans.Lattice.Api.TreeAdmin.TreeCompactionTriggerResult
Source (line 10).
public sealed record TreeCompactionTriggerResult
public required string TreeId { get; init; }public int ShardIndex { get; init; }public bool Accepted { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeConfigurationReport
Source (line 16).
public sealed record TreeConfigurationReport
public required string TreeId { get; init; }public bool Exists { get; init; }public string? PhysicalTreeId { get; init; }public int? ShardCount { get; init; }public int? MaxLeafKeys { get; init; }public int? MaxInternalChildren { get; init; }public bool? PublishEvents { get; init; }public bool? MaintainProjectionDigest { get; init; }public bool ProjectionDigestPermanentlyDisabled { get; init; }public HistoryRetentionMode? HistoryRetentionMode { get; init; }public long? HistoryRetentionWindowTicks { get; init; }public long? WalMaxRetainedBytes { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeConfigurationUpdate
Source (line 21).
public sealed record TreeConfigurationUpdate
public bool ApplyPublishEvents { get; init; }public bool? PublishEvents { get; init; }public bool ApplyMaintainProjectionDigest { get; init; }public bool? MaintainProjectionDigest { get; init; }public bool ApplyHistoryRetention { get; init; }public HistoryRetentionMode? HistoryRetentionMode { get; init; }public long? HistoryRetentionWindowTicks { get; init; }public bool ApplyWalMaxRetainedBytes { get; init; }public long? WalMaxRetainedBytes { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeCreationResult
Source (line 18).
public sealed record TreeCreationResult
public required string TreeId { get; init; }public bool Created { get; init; }public int ShardCount { get; init; }public int MaxLeafKeys { get; init; }public int MaxInternalChildren { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeDeletionStatus
Source (line 11).
public sealed record TreeDeletionStatus
public required string TreeId { get; init; }public bool IsDeleted { get; init; }public DateTimeOffset? DeletedAtUtc { get; init; }public DateTimeOffset? RecoveryDeadlineUtc { get; init; }public bool PurgeInProgress { get; init; }public bool PurgeComplete { get; init; }public bool CanRecover { get; init; }public int PurgedShardCount { get; init; }public int PurgeShardCount { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeExistenceResult
Source (line 7).
public sealed record TreeExistenceResult
public required string TreeId { get; init; }public bool Exists { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeHistoryRetention
Source (line 11).
public sealed record TreeHistoryRetention
public required string TreeId { get; init; }public TreeHistoryRetentionMode Mode { get; init; }public TimeSpan Window { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeHistoryRetentionMode
Source (line 9).
public enum TreeHistoryRetentionMode
MetadataOnly = 0FullValue = 1Hybrid = 2
Orleans.Lattice.Api.TreeAdmin.TreeHotnessReport
Source (line 11).
public sealed record TreeHotnessReport
public required string TreeId { get; init; }public int ShardCount { get; init; }public long TotalReads { get; init; }public long TotalWrites { get; init; }public double TotalOpsPerSecond { get; init; }public DateTimeOffset SampledAt { get; init; }public ImmutableArray<ShardHotnessSnapshot> Shards { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeNotEmptyException
Source (line 12).
public sealed class TreeNotEmptyException : Exception
public TreeNotEmptyException(string treeId)public TreeNotEmptyException(string treeId, string message)public string TreeId { get; }
Orleans.Lattice.Api.TreeAdmin.TreeOrphanedLeafDisposition
Source (line 12).
public enum TreeOrphanedLeafDisposition
Repaired = 0Repairable = 1RefusedUnverifiedKeys = 2RefusedKeyCountExceeded = 3RefusedBlockingState = 4RefusedChainRace = 5RefusedRoutingContradiction = 6
Orleans.Lattice.Api.TreeAdmin.TreeOrphanedLeafFinding
Source (line 8).
public sealed record TreeOrphanedLeafFinding
public int ShardIndex { get; init; }public required string LeafId { get; init; }public string? LowKeyInclusive { get; init; }public string? HighKeyExclusive { get; init; }public int KeyCount { get; init; }public int VerifiedKeyCount { get; init; }public TreeOrphanedLeafDisposition Disposition { get; init; }public string? UnverifiedKey { get; init; }public int? SurveyVerifiedKeyCount { get; init; }public int? SurveyMissingKeyCount { get; init; }public int? SurveyRoutingContradictionKeyCount { get; init; }public bool IsRefusal
Orleans.Lattice.Api.TreeAdmin.TreeOrphanedLeafGap
Source (line 14).
public sealed record TreeOrphanedLeafGap
public int ShardIndex { get; init; }public TreeOrphanedLeafGapReason Reason { get; init; }public string? LeafId { get; init; }public string? KeyHint { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeOrphanedLeafGapReason
Source (line 15).
public enum TreeOrphanedLeafGapReason
ShardSplitInProgress = 0ShardPassAlreadyRunning = 1ChainTruncated = 2ChainTruncatedUnrecoverable = 3WalkBudgetExhaustedWithoutResumePosition = 4LeafBoundsUndecidable = 5EntryLeafUnreachable = 6RoutingInMotion = 7
Orleans.Lattice.Api.TreeAdmin.TreeOrphanedLeafReport
Source (line 33).
public sealed record TreeOrphanedLeafReport
public required string TreeId { get; init; }public bool DryRun { get; init; }public int LeavesWalked { get; init; }public ImmutableArray<TreeOrphanedLeafFinding> Findings { get; init; }public string? ResumeFrom { get; init; }public bool IsCompletepublic ImmutableArray<TreeOrphanedLeafGap> Gaps { get; init; }public bool Survey { get; init; }public int OrphanedLeafCountpublic int RepairableCount { get; }public long? SurveyMissingKeyCount { get; }public bool VerdictCompletepublic int RepairedCount { get; }public int RefusedCount { get; }
Orleans.Lattice.Api.TreeAdmin.TreeReshardStatus
Source (line 19).
public sealed record TreeReshardStatus
public required string TreeId { get; init; }public bool InProgress { get; init; }public int CurrentPhysicalShardCount { get; init; }public int VirtualShardCount { get; init; }public long MapVersion { get; init; }public int? RequestedShardCount { get; init; }public int? TargetShardCount { get; init; }public int? StartPhysicalShardCount { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeResizePhase
Source (line 7).
public enum TreeResizePhase
Copy = 0Swap = 1RejectOldShards = 2RetireOldCopy = 3Undo = 4
Orleans.Lattice.Api.TreeAdmin.TreeResizeStatus
Source (line 20).
public sealed record TreeResizeStatus
public required string TreeId { get; init; }public bool InProgress { get; init; }public int CurrentMaxLeafKeys { get; init; }public int CurrentMaxInternalChildren { get; init; }public int? RequestedMaxLeafKeys { get; init; }public int? RequestedMaxInternalChildren { get; init; }public bool UndoRequested { get; init; }public TreeResizePhase? Phase { get; init; }public int CompletedUnits { get; init; }public int? TotalUnits { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeRestoreMode
Source (line 8).
public enum TreeRestoreMode
InPlace = 0ShadowCutover = 1
Orleans.Lattice.Api.TreeAdmin.TreeRestoreResult
Source (line 15).
public sealed record TreeRestoreResult
public required string BackupId { get; init; }public required string TargetTreeId { get; init; }public required TreeRestoreMode Mode { get; init; }public required string OperationId { get; init; }public required IReadOnlyList<string> ManifestChain { get; init; }public required long EntriesApplied { get; init; }public string? ShadowPhysicalTreeId { get; init; }public string? PreviousPhysicalTreeId { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeRestoreSetResult
Source (line 11).
public sealed record TreeRestoreSetResult
public required IReadOnlyList<TreeRestoreResult> Results { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeShardMapView
Source (line 20).
public sealed record TreeShardMapView
public required string TreeId { get; init; }public bool HasCustomMap { get; init; }public long MapVersion { get; init; }public int VirtualShardCount { get; init; }public int PhysicalShardCount { get; init; }public ImmutableArray<int> PhysicalShardIndices { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeSnapshotMode
Source (line 8).
public enum TreeSnapshotMode
Offline = 0Online = 1
Orleans.Lattice.Api.TreeAdmin.TreeSnapshotPhase
Source (line 7).
public enum TreeSnapshotPhase
LockSource = 0BeginForwarding = 1Copy = 2UnlockSource = 3
Orleans.Lattice.Api.TreeAdmin.TreeSnapshotStatus
Source (line 18).
public sealed record TreeSnapshotStatus
public required string TreeId { get; init; }public bool InProgress { get; init; }public string? RequestedDestinationTreeId { get; init; }public TreeSnapshotMode? RequestedMode { get; init; }public TreeSnapshotPhase? Phase { get; init; }public int CopiedShardCount { get; init; }public int? ShardCount { get; init; }public string? FailureReason { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeStatsReport
Source (line 10).
public sealed record TreeStatsReport
public required string TreeId { get; init; }public int ShardCount { get; init; }public int VirtualShardCount { get; init; }public long TotalLiveKeys { get; init; }public long TotalTombstones { get; init; }public long LeafStateBytes { get; init; }public long SnapshotBytes { get; init; }public long WalRetainedBytes { get; init; }public long TotalBytes { get; init; }public bool PartialStorage { get; init; }public DateTimeOffset SampledAt { get; init; }public bool StaleStorage { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeStorageUsageSnapshot
Source (line 9).
public sealed record TreeStorageUsageSnapshot
public required string TreeId { get; init; }public long WalRetainedBytes { get; init; }public long SnapshotBytes { get; init; }public long LeafStateBytes { get; init; }public long TotalBytes { get; init; }public bool Partial { get; init; }public long LiveKeys { get; init; }public DateTimeOffset SampledAt { get; init; }public bool Stale { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeTagIndexCatalog
Source (line 10).
public sealed record TreeTagIndexCatalog
public ImmutableArray<TreeTagIndexInfo> Indexes { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeTagIndexInfo
Source (line 10).
public sealed record TreeTagIndexInfo
public required string IndexName { get; init; }public required string TreeId { get; init; }public int ShardCount { get; init; }public ImmutableArray<string> CoveredTrees { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeTagIndexStatus
Source (line 10).
public sealed record TreeTagIndexStatus
public required string IndexName { get; init; }public required string TreeId { get; init; }public int ShardCount { get; init; }public ImmutableArray<string> CoveredTrees { get; init; }public bool ReconcileIdle { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeTagReconcileReport
Source (line 9).
public sealed record TreeTagReconcileReport
public required string IndexName { get; init; }public required string TreeId { get; init; }public int TreesCovered { get; init; }public int KeysScanned { get; init; }public int MembershipRowsScanned { get; init; }public int OrphanRowsRemoved { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeViewCatalog
Source (line 10).
public sealed record TreeViewCatalog
public ImmutableArray<TreeViewInfo> Views { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeViewInfo
Source (line 15).
public sealed record TreeViewInfo
public required string ViewName { get; init; }public required string SourceTreeId { get; init; }public bool IsAggregation { get; init; }public bool Accumulative { get; init; }public string? ProviderKey { get; init; }public string? ProjectionVersion { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeViewProviderCatalog
Source (line 14).
public sealed record TreeViewProviderCatalog
public ImmutableArray<TreeViewProviderInfo> Providers { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeViewProviderField
Source (line 7).
public sealed record TreeViewProviderField
public required string Name { get; init; }public required string Label { get; init; }public string? Description { get; init; }public bool Required { get; init; }public TreeViewProviderFieldKind Kind { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeViewProviderFieldKind
Source (line 6).
public enum TreeViewProviderFieldKind
Text = 0Number = 1Boolean = 2
Orleans.Lattice.Api.TreeAdmin.TreeViewProviderInfo
Source (line 12).
public sealed record TreeViewProviderInfo
public required string ProviderKey { get; init; }public string? Description { get; init; }public ImmutableArray<TreeViewProviderField> PayloadFields { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeViewReconcileResult
Source (line 9).
public sealed record TreeViewReconcileResult
public required string ViewName { get; init; }public required string SourceTreeId { get; init; }public bool DriftRepaired { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeViewStatus
Source (line 16).
public sealed record TreeViewStatus
public required string ViewName { get; init; }public required string SourceTreeId { get; init; }public bool IsAggregation { get; init; }public long ApplyLag { get; init; }public string ActiveTreeId { get; init; }public string? ProviderKey { get; init; }public string? ProjectionVersion { get; init; }public TimeSpan? ApplyLagAge { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeWalFloorHolder
Source (line 7).
public sealed record TreeWalFloorHolder
public required string ConsumerId { get; init; }public string? LeafId { get; init; }public int Partition { get; init; }public long PinOffset { get; init; }public long? PersistedCheckpoint { get; init; }public TreeWalFloorHolderState State { get; init; }public bool HoldsOffsetFloor
Orleans.Lattice.Api.TreeAdmin.TreeWalFloorHolderState
Source (line 15).
public enum TreeWalFloorHolderState
CheckpointedUncovered = 0NeverCheckpointed = 1NoDurableState = 2Unreadable = 3Orphaned = 4CheckpointedCoverageUnknown = 5
Orleans.Lattice.Api.TreeAdmin.TreeWalMoveOptions
Source (line 11).
public readonly record struct TreeWalMoveOptions
public double QuiesceLeaseSeconds { get; init; }public int CopyPageSize { get; init; }public bool DisableVerifyAfterCopy { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeWalMoveOutcome
Source (line 7).
public enum TreeWalMoveOutcome
Moved = 0AlreadyAtTarget = 1SourceReclaimed = 2NoOp = 3
Orleans.Lattice.Api.TreeAdmin.TreeWalMovePlan
Source (line 10).
public sealed record TreeWalMovePlan
public required string TreeId { get; init; }public int Partition { get; init; }public string FromProviderKey { get; init; }public string ToProviderKey { get; init; }public long PlacementVersion { get; init; }public long SourceLowestOffset { get; init; }public long SourceHighestOffset { get; init; }public long EntriesToCopy { get; init; }public bool TargetResolvableOnThisSilo { get; init; }public bool AlreadyAtTarget { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeWalMoveReceipt
Source (line 16).
public sealed record TreeWalMoveReceipt
public required string TreeId { get; init; }public int Partition { get; init; }public string FromProviderKey { get; init; }public string ToProviderKey { get; init; }public long PreviousPlacementVersion { get; init; }public long NewPlacementVersion { get; init; }public long CopiedFromOffset { get; init; }public long CopiedThroughOffset { get; init; }public long SourceHighestOffset { get; init; }public long TargetHighestOffset { get; init; }public bool SourceRetained { get; init; }public TreeWalMoveOutcome Outcome { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeWalPartitionPlacement
Source (line 9).
public readonly record struct TreeWalPartitionPlacement
public int Partition { get; init; }public string ProviderKey { get; init; }public bool ResolvableOnThisSilo { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeWalPlacement
Source (line 11).
public sealed record TreeWalPlacement
public required string TreeId { get; init; }public long Version { get; init; }public string DefaultProviderKey { get; init; }public ImmutableArray<TreeWalPartitionPlacement> Partitions { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeWalPlacementAudit
Source (line 12).
public sealed record TreeWalPlacementAudit
public required string TreeId { get; init; }public long Version { get; init; }public int PartitionCount { get; init; }public ImmutableArray<TreeWalPartitionPlacement> Partitions { get; init; }public bool AllResolvableOnThisSilo { get; init; }public ImmutableArray<string> KnownProviderKeys { get; init; }
Orleans.Lattice.Api.TreeAdmin.TreeWalReclamationReport
Source (line 26).
public sealed record TreeWalReclamationReport
public required string TreeId { get; init; }public bool PinStoreReadable { get; init; }public int PinCount { get; init; }public int PinsWithoutOffset { get; init; }public TreeWalFloorHolder? FloorHolder { get; init; }public bool IsWedged