fix local flag in cluster health
This commit is contained in:
parent
5dd18acd0e
commit
0be5a7888f
|
@ -74,6 +74,11 @@ public class TransportClusterHealthAction extends TransportMasterNodeOperationAc
|
|||
return new ClusterHealthResponse();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean localExecute(ClusterHealthRequest request) {
|
||||
return request.local();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ClusterHealthResponse masterOperation(ClusterHealthRequest request, ClusterState unusedState) throws ElasticSearchException {
|
||||
long endTime = System.currentTimeMillis() + request.timeout().millis();
|
||||
|
|
Loading…
Reference in New Issue