logger.info("target file {} exists already.", target.getName());
// this might happen on bad timing while recovering/relocating.
// noop
} else {
if (!source.renameTo(target)) {
throw new BlobWriteException(target.getName(), target.length(), null);
}
}
onGoingRecovery.onGoingTransfers().remove(request.transferId());
}