Table of Contents

Class BackupCompactionFailure

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

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

BackupId uint

The point being compacted.

Kind BackupFailureKind

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).

Message string

What failed.

Properties

BackupId

The point being compacted.

public uint BackupId { get; init; }

Property Value

uint

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

BackupFailureKind

Message

What failed.

public string Message { get; init; }

Property Value

string

Methods

Deconstruct(out uint, out BackupFailureKind, out string)

public void Deconstruct(out uint BackupId, out BackupFailureKind Kind, out string Message)

Parameters

BackupId uint
Kind BackupFailureKind
Message string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupCompactionFailure?)

public bool Equals(BackupCompactionFailure? other)

Parameters

other BackupCompactionFailure

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupCompactionFailure?, BackupCompactionFailure?)

public static bool operator ==(BackupCompactionFailure? left, BackupCompactionFailure? right)

Parameters

left BackupCompactionFailure
right BackupCompactionFailure

Returns

bool

operator !=(BackupCompactionFailure?, BackupCompactionFailure?)

public static bool operator !=(BackupCompactionFailure? left, BackupCompactionFailure? right)

Parameters

left BackupCompactionFailure
right BackupCompactionFailure

Returns

bool