RollupRepairRequest
Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData
A repair that was queued with IStreamDataRepository.EnqueueRollupRepairAsync(IReadOnlyCollection<OctoObjectId>, CancellationToken): durable (a restart does not lose it) and run by the host's recompute tick, not under the request that queued it.
public record RollupRepairRequest : IEquatable<RollupRepairRequest>
Inheritance Object → RollupRepairRequest
Implements IEquatable<RollupRepairRequest>
Properties
RequestId
Identifies the request for IStreamDataRepository.GetRollupRepairRequestAsync(String, CancellationToken).
public string RequestId { get; set; }
Property Value
State
Where it stands.
public RollupRepairRequestState State { get; set; }
Property Value
RequestedAtUtc
When it was queued.
public DateTime RequestedAtUtc { get; set; }
Property Value
FinishedAtUtc
When it ended; null while pending or running.
public Nullable<DateTime> FinishedAtUtc { get; set; }
Property Value
PlannedActions
The steps the repair planned when it was queued (a dry run).
public IReadOnlyList<RollupRepairAction> PlannedActions { get; set; }
Property Value
IReadOnlyList<RollupRepairAction>
Report
The report of the run (validate, repair, validate); null until it ended.
public RollupRepairReport Report { get; set; }
Property Value
Constructors
RollupRepairRequest(String, RollupRepairRequestState, DateTime, Nullable<DateTime>, IReadOnlyList<RollupRepairAction>, RollupRepairReport)
A repair that was queued with IStreamDataRepository.EnqueueRollupRepairAsync(IReadOnlyCollection<OctoObjectId>, CancellationToken): durable (a restart does not lose it) and run by the host's recompute tick, not under the request that queued it.
public RollupRepairRequest(string RequestId, RollupRepairRequestState State, DateTime RequestedAtUtc, Nullable<DateTime> FinishedAtUtc, IReadOnlyList<RollupRepairAction> PlannedActions, RollupRepairReport Report)
Parameters
RequestId String
Identifies the request for IStreamDataRepository.GetRollupRepairRequestAsync(String, CancellationToken).
State RollupRepairRequestState
Where it stands.
RequestedAtUtc DateTime
When it was queued.
FinishedAtUtc Nullable<DateTime>
When it ended; null while pending or running.
PlannedActions IReadOnlyList<RollupRepairAction>
The steps the repair planned when it was queued (a dry run).
Report RollupRepairReport
The report of the run (validate, repair, validate); null until it ended.