Class BackupCompactionFailure
A compaction a retention attempted that did not publish: its chain keeps every pack this run.
public sealed record BackupCompactionFailure : IEquatable<BackupCompactionFailure>
- Inheritance
-
BackupCompactionFailure
- Implements
- Inherited Members
Constructors
BackupCompactionFailure(uint, BackupFailureKind, string)
A compaction a retention attempted that did not publish: its chain keeps every pack this run.
public BackupCompactionFailure(uint BackupId, BackupFailureKind Kind, string Message)
Parameters
BackupIduintThe point being compacted.
KindBackupFailureKindStoreDamaged: a pack of the point's chain is damaged or the chain broken — compaction is the one routine full read of a kept chain, so this is a kept point that may not restore. Failed: I/O, or the compacted pack failed its own verify (nothing was published).
MessagestringWhat failed.
Properties
BackupId
The point being compacted.
public uint BackupId { get; init; }
Property Value
Kind
StoreDamaged: a pack of the point's chain is damaged or the chain broken — compaction is the one routine full read of a kept chain, so this is a kept point that may not restore. Failed: I/O, or the compacted pack failed its own verify (nothing was published).
public BackupFailureKind Kind { get; init; }
Property Value
Message
What failed.
public string Message { get; init; }
Property Value
Methods
Deconstruct(out uint, out BackupFailureKind, out string)
public void Deconstruct(out uint BackupId, out BackupFailureKind Kind, out string Message)
Parameters
BackupIduintKindBackupFailureKindMessagestring
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupCompactionFailure?)
public bool Equals(BackupCompactionFailure? other)
Parameters
otherBackupCompactionFailure
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupCompactionFailure?, BackupCompactionFailure?)
public static bool operator ==(BackupCompactionFailure? left, BackupCompactionFailure? right)
Parameters
leftBackupCompactionFailurerightBackupCompactionFailure
Returns
operator !=(BackupCompactionFailure?, BackupCompactionFailure?)
public static bool operator !=(BackupCompactionFailure? left, BackupCompactionFailure? right)
Parameters
leftBackupCompactionFailurerightBackupCompactionFailure