use high transport type when sending the cluster state
This commit is contained in:
parent
ec2f0e05f9
commit
d560ceabe4
|
@ -67,11 +67,15 @@ public class PublishClusterStateAction extends AbstractComponent {
|
||||||
// no need to send to our self
|
// no need to send to our self
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
transportService.sendRequest(node, PublishClusterStateRequestHandler.ACTION, new PublishClusterStateRequest(clusterState), new VoidTransportResponseHandler(false) {
|
transportService.sendRequest(node, PublishClusterStateRequestHandler.ACTION,
|
||||||
@Override public void handleException(TransportException exp) {
|
new PublishClusterStateRequest(clusterState),
|
||||||
logger.debug("failed to send cluster state to [{}], should be detected as failed soon...", exp, node);
|
TransportRequestOptions.options().withHighType(),
|
||||||
}
|
|
||||||
});
|
new VoidTransportResponseHandler(false) {
|
||||||
|
@Override public void handleException(TransportException exp) {
|
||||||
|
logger.debug("failed to send cluster state to [{}], should be detected as failed soon...", exp, node);
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue