private Task <PushFileResult> PushCheckpointFileAsync(OperationContext context, ContentHashWithSize hashWithSize) { return(context.PerformOperationAsync(Tracer, async() => { var destinationMachineResult = _locationStore.GetRandomMachineLocation(); if (!destinationMachineResult.Succeeded) { return new PushFileResult(destinationMachineResult, "Failed to get a location to proactively copy the checkpoint file."); } var destionationMachine = destinationMachineResult.Value; var streamResult = await PrivateCas.OpenStreamAsync(context, hashWithSize.Hash, pinRequest: null); if (!streamResult.Succeeded) { return new PushFileResult(streamResult, "Should have been able to open the stream from the local CAS"); } using var stream = streamResult.Stream !; return await _copier.PushFileAsync( context, hashWithSize, destionationMachine, stream, isInsideRing: false, CopyReason.ProactiveCheckpointCopy, ProactiveCopyLocationSource.Random, attempt: 0); },