[
https://issues.apache.org/jira/browse/NIFI-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484116#comment-16484116
]
Joseph Witt commented on NIFI-5222:
-----------------------------------
[~markap14]i applied the previous PR for validation and this one. The behavior
i see results in a pretty poor user experience so i dont think we're quite
there yet. I create a single debug flow and an update attribute. DF has a 10
sec validation wait. I then copy/paste several times and wait between each.
Sometimes copying several at once. The validation cycle can take several
minutes.
> With validation being performed asynchronously, updating a processor causes
> validation to occur 3 times instead of once
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-5222
> URL: https://issues.apache.org/jira/browse/NIFI-5222
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.7.0
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.7.0
>
>
> With the merge of NIFI-950, we now have processors, controller services, and
> reporting tasks being validated asynchronously. Each time that properties,
> annotation data, or auto-terminated relationships are set, a task is kicked
> off in the background to perform validation. Additionally, if any connections
> are added/removed, it kicks off the task.
> Right now, though, if a user clicks to configure a processor and then clicks
> Apply, what happens on the back end is that we call setProperties(),
> setAnnotationData(), and setAutoTerminatedRelationships() in the request. As
> a result, we kick off validation 3 times. Instead, we should avoid kicking
> off that background task until we've completed all updates to the
> processor/controller service/reporting task. Then trigger validation only
> once.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)