use of org.elasticsearch.indices.recovery.BlobFinalizeRecoveryRequest in project crate by crate.
the class BlobRecoveryHandler method sendFinalizeRecoveryRequest.
private void sendFinalizeRecoveryRequest() {
var listener = new PlainActionFuture<TransportResponse>();
transportService.sendRequest(request.targetNode(), BlobRecoveryTarget.Actions.FINALIZE_RECOVERY, new BlobFinalizeRecoveryRequest(request.recoveryId()), TransportRequestOptions.EMPTY, new ActionListenerResponseHandler<>(listener, in -> TransportResponse.Empty.INSTANCE));
listener.actionGet();
}
Aggregations