mirror of
https://github.com/apache/nifi.git
synced 2025-02-16 15:06:00 +00:00
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…
x
Reference in New Issue
Block a user