private Task DeleteSnapshots(RecoveryLink link) { return(Endpoint.Logs[link.ReplicationLink.Target.LogName] .Ask(new DeleteSnapshots(link.LocalSequenceNr + 1), timeout: settings.SnapshotDeletionTimeout) .Unwrap <DeleteSnapshotsSuccess, Exception>()); }
public RecoveryStepCompleted(RecoveryLink link) { Link = link; }
/// <summary> /// Returns `true`, if the source of the <see cref="RecoveryLink"/> did not receive all events before the disaster, i.e. /// the initial replication from the location to be recovered to the source of event recovery was filtered. /// </summary> public bool IsFilteredLink(RecoveryLink link) => Endpoint.EndpointFilters.FilterFor(link.ReplicationLink.Source.LogId, link.ReplicationLink.Target.LogName) != NoFilter.Instance;