transportMergeNodeAction.startMerge(node, request, new ActionListener<NodeMergeResponse>() {
@Override
public void onResponse(NodeMergeResponse nodeMergeResponse) {
logger.trace("startMerge.onResponse: {} of {}", node, mergeNode.executionNodes().size());
((SettableFuture<QueryResult>)results.get(resultIdx)).set(new QueryResult(nodeMergeResponse.rows()));
}
@Override
public void onFailure(Throwable e) {
logger.trace("startMerge.onFailure: {} of {}", node, mergeNode.executionNodes().size());