add logging if failing to execute on a node
This commit is contained in:
parent
180d225016
commit
ad236d19ee
|
@ -188,6 +188,9 @@ public abstract class TransportNodesOperationAction<Request extends NodesOperati
|
|||
private void onFailure(String nodeId, Throwable t) {
|
||||
int idx = index.getAndIncrement();
|
||||
if (accumulateExceptions()) {
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("failed to execute on node [{}]", t, nodeId);
|
||||
}
|
||||
responses.set(idx, new FailedNodeException(nodeId, "Failed node [" + nodeId + "]", t));
|
||||
}
|
||||
if (counter.incrementAndGet() == responses.length()) {
|
||||
|
|
Loading…
Reference in New Issue