示例#1
0
 private Task DeleteSnapshots(RecoveryLink link)
 {
     return(Endpoint.Logs[link.ReplicationLink.Target.LogName]
            .Ask(new DeleteSnapshots(link.LocalSequenceNr + 1), timeout: settings.SnapshotDeletionTimeout)
            .Unwrap <DeleteSnapshotsSuccess, Exception>());
 }
示例#2
0
 public RecoveryStepCompleted(RecoveryLink link)
 {
     Link = link;
 }
示例#3
0
 /// <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;