mirror of
https://github.com/apache/nifi.git
synced 2025-02-18 07:56:56 +00:00
NIFI-2021: Fixed infinite replicated recursion. This closes #597
This commit is contained in:
parent
ce5330330a
commit
e7e349631f
@ -122,7 +122,7 @@ public class SystemDiagnosticsResource extends ApplicationResource {
|
|||||||
throw new IllegalArgumentException("Nodewise requests cannot be directed at a specific node.");
|
throw new IllegalArgumentException("Nodewise requests cannot be directed at a specific node.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isConnectedToCluster()) {
|
if (isReplicateRequest()) {
|
||||||
// determine where this request should be sent
|
// determine where this request should be sent
|
||||||
if (clusterNodeId == null) {
|
if (clusterNodeId == null) {
|
||||||
final NodeResponse nodeResponse = getRequestReplicator().replicate(HttpMethod.GET, getAbsolutePath(), getRequestParameters(true), getHeaders()).awaitMergedResponse();
|
final NodeResponse nodeResponse = getRequestReplicator().replicate(HttpMethod.GET, getAbsolutePath(), getRequestParameters(true), getHeaders()).awaitMergedResponse();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user