Table of Contents

Class RestoreTargetUnreachableException

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

A restore to an LSN or a time cannot reach its target (impl/1418 §3.10). Nothing was written. NearestRestorable names what can be restored instead.

public sealed class RestoreTargetUnreachableException : BackupException, ISerializable
Inheritance
RestoreTargetUnreachableException
Implements
Inherited Members

Constructors

RestoreTargetUnreachableException(RestoreUnreachableReason, Guid, long, long, IReadOnlyList<long>, string)

Creates the refusal.

public RestoreTargetUnreachableException(RestoreUnreachableReason reason, Guid timelineId, long fromLsn, long toLsn, IReadOnlyList<long> nearestRestorable, string detail)

Parameters

reason RestoreUnreachableReason

Why.

timelineId Guid

The timeline the target was resolved on; Empty when none.

fromLsn long

The first LSN of the missing range (or the target), when it applies.

toLsn long

The last LSN of the missing range, when it applies.

nearestRestorable IReadOnlyList<long>

The restorable LSNs nearest the target, ascending.

detail string

What was wrong, in a sentence.

Properties

FromLsn

The first LSN of the missing range, or the target.

public long FromLsn { get; }

Property Value

long

NearestRestorable

The restorable LSNs nearest the target, ascending: what a restore can reach instead.

public IReadOnlyList<long> NearestRestorable { get; }

Property Value

IReadOnlyList<long>

Reason

Why.

public RestoreUnreachableReason Reason { get; }

Property Value

RestoreUnreachableReason

TimelineId

The timeline the target was resolved on; Empty when none.

public Guid TimelineId { get; }

Property Value

Guid

ToLsn

The last LSN of the missing range; 0 when it does not apply.

public long ToLsn { get; }

Property Value

long