Github user markap14 commented on the issue:
https://github.com/apache/nifi/pull/563
@ijokarumawak I am not opposed to performing the view / clear on primary
node only when NiFi is in clustered mode. That wouldn't have been a good idea
in the 0.x baseline because the primary node may be disconnected. But in 1.0 we
would auto-elect a new primary so I am ok with it in the 1.x baseline. For
external state, though, we would need some sort of indicator as to whether the
state should be cleared on all nodes or only the primary node. This could
perhaps be part of the ExternalStateManager interface - a "Scope
getStateScope()" method so that we know if external state is being managed
per-node or cluster-wide. This would tell us if we need to replicate the
request to all nodes or only the primary node.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---