Class RestoreTargetUnreachableException
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
reasonRestoreUnreachableReasonWhy.
timelineIdGuidThe timeline the target was resolved on; Empty when none.
fromLsnlongThe first LSN of the missing range (or the target), when it applies.
toLsnlongThe last LSN of the missing range, when it applies.
nearestRestorableIReadOnlyList<long>The restorable LSNs nearest the target, ascending.
detailstringWhat was wrong, in a sentence.
Properties
FromLsn
The first LSN of the missing range, or the target.
public long FromLsn { get; }
Property Value
NearestRestorable
The restorable LSNs nearest the target, ascending: what a restore can reach instead.
public IReadOnlyList<long> NearestRestorable { get; }
Property Value
Reason
Why.
public RestoreUnreachableReason Reason { get; }
Property Value
TimelineId
The timeline the target was resolved on; Empty when none.
public Guid TimelineId { get; }
Property Value
ToLsn
The last LSN of the missing range; 0 when it does not apply.
public long ToLsn { get; }