use high transport type when sending the cluster state
This commit is contained in:
parent
ec2f0e05f9
commit
d560ceabe4
|
@ -67,7 +67,11 @@ 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,
|
||||||
|
new PublishClusterStateRequest(clusterState),
|
||||||
|
TransportRequestOptions.options().withHighType(),
|
||||||
|
|
||||||
|
new VoidTransportResponseHandler(false) {
|
||||||
@Override public void handleException(TransportException exp) {
|
@Override public void handleException(TransportException exp) {
|
||||||
logger.debug("failed to send cluster state to [{}], should be detected as failed soon...", exp, node);
|
logger.debug("failed to send cluster state to [{}], should be detected as failed soon...", exp, node);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue