StagingCopyReadiness
Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData
Whether the repository can run the native copy now (IStreamDataRepository.CheckStagingCopyReadinessAsync(CancellationToken)): a side-effect-free answer to ask before anything of a restore is dropped or created.
public record StagingCopyReadiness : IEquatable<StagingCopyReadiness>
Inheritance Object → StagingCopyReadiness
Implements IEquatable<StagingCopyReadiness>
Properties
Supported
The repository has the native copy at all (IStreamDataRepository.SupportsStagingCopy).
public bool Supported { get; set; }
Property Value
JobLogFilterSet
The cluster setting that keeps COPY statements (and with them the storage credential) out of the server's job log is in place.
public bool JobLogFilterSet { get; set; }
Property Value
StorageVersion
The version of the storage nodes; null when it could not be read.
public string StorageVersion { get; set; }
Property Value
Reason
What is missing, in English and without any secret; null when ready.
public string Reason { get; set; }
Property Value
IsReady
True when a dump or a load can start.
public bool IsReady { get; }
Property Value
Constructors
StagingCopyReadiness(Boolean, Boolean, String, String)
Whether the repository can run the native copy now (IStreamDataRepository.CheckStagingCopyReadinessAsync(CancellationToken)): a side-effect-free answer to ask before anything of a restore is dropped or created.
public StagingCopyReadiness(bool Supported, bool JobLogFilterSet, string StorageVersion, string Reason)
Parameters
Supported Boolean
The repository has the native copy at all (IStreamDataRepository.SupportsStagingCopy).
JobLogFilterSet Boolean
The cluster setting that keeps COPY statements (and with them the storage credential) out of the server's job log is in place.
StorageVersion String
The version of the storage nodes; null when it could not be read.
Reason String
What is missing, in English and without any secret; null when ready.