mirror of https://github.com/apache/nifi.git
NIFI-2628: Whenever a flow is inherited from cluster coordinator, save flow immediately to disk
This closes #967
This commit is contained in:
parent
ba19238757
commit
1213b46632
|
@ -491,6 +491,7 @@ public class StandardFlowService implements FlowService, ProtocolHandler {
|
|||
} else {
|
||||
try {
|
||||
loadFromConnectionResponse(response);
|
||||
dao.save(controller, true);
|
||||
} catch (final Exception e) {
|
||||
logger.error("Failed to load flow from cluster due to: " + e, e);
|
||||
handleConnectionFailure(e);
|
||||
|
|
Loading…
Reference in New Issue