ArchiveCopyDumpResult
Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData
The outcome of dumping one archive with IStreamDataRepository.DumpArchiveToStagingAsync(OctoObjectId, ArchiveCopyStagingLocation, ArchiveCopyOptions, CancellationToken): the plan the files belong to (the one of the last attempt), the result of every slice, and — for a rollup — how the repeat rule of the generation map went.
public record ArchiveCopyDumpResult : IEquatable<ArchiveCopyDumpResult>
Inheritance Object → ArchiveCopyDumpResult
Implements IEquatable<ArchiveCopyDumpResult>
Properties
ArchiveRtId
The archive that was dumped.
public OctoObjectId ArchiveRtId { get; set; }
Property Value
OctoObjectId
Plan
The plan of the attempt whose files stand; the bot writes it into the manifest. Each slice carries the rows the copy reported (the tenant stays online, so they can differ from the rows counted before the copy), which is what a load verifies against; a slice that was not copied keeps its counted rows.
public ArchiveCopyPlan Plan { get; set; }
Property Value
Slices
Result of each slice of Plan, in copy order.
public IReadOnlyList<ArchiveCopySliceResult> Slices { get; set; }
Property Value
IReadOnlyList<ArchiveCopySliceResult>
Attempts
How often the rollup was copied; 1 unless its generation map moved while it was copied. 1 for any other archive.
public int Attempts { get; set; }
Property Value
MapReadAtUtc
When the generation map was read for the attempt that stands (the map is read before the data, so this is never
later than LastDataCopiedAtUtc); null for an archive without a generation map.
public Nullable<DateTime> MapReadAtUtc { get; set; }
Property Value
LastDataCopiedAtUtc
When the last data slice of that attempt was copied; null when no slice was copied.
public Nullable<DateTime> LastDataCopiedAtUtc { get; set; }
Property Value
IsSuccess
True when every slice of the plan was copied.
public bool IsSuccess { get; }
Property Value
Constructors
ArchiveCopyDumpResult(OctoObjectId, ArchiveCopyPlan, IReadOnlyList<ArchiveCopySliceResult>, Int32, Nullable<DateTime>, Nullable<DateTime>)
The outcome of dumping one archive with IStreamDataRepository.DumpArchiveToStagingAsync(OctoObjectId, ArchiveCopyStagingLocation, ArchiveCopyOptions, CancellationToken): the plan the files belong to (the one of the last attempt), the result of every slice, and — for a rollup — how the repeat rule of the generation map went.
public ArchiveCopyDumpResult(OctoObjectId ArchiveRtId, ArchiveCopyPlan Plan, IReadOnlyList<ArchiveCopySliceResult> Slices, int Attempts, Nullable<DateTime> MapReadAtUtc, Nullable<DateTime> LastDataCopiedAtUtc)
Parameters
ArchiveRtId OctoObjectId
The archive that was dumped.
Plan ArchiveCopyPlan
The plan of the attempt whose files stand; the bot writes it into the manifest. Each slice carries the rows the
copy reported (the tenant stays online, so they can differ from the rows counted before the copy), which is
what a load verifies against; a slice that was not copied keeps its counted rows.
Slices IReadOnlyList<ArchiveCopySliceResult>
Result of each slice of Plan, in copy order.
Attempts Int32
How often the rollup was copied; 1 unless its generation map moved while it was copied. 1 for any other archive.
MapReadAtUtc Nullable<DateTime>
When the generation map was read for the attempt that stands (the map is read before the data, so this is never
later than LastDataCopiedAtUtc); null for an archive without a generation map.
LastDataCopiedAtUtc Nullable<DateTime>
When the last data slice of that attempt was copied; null when no slice was copied.