You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2018/05/21 19:12:00 UTC

[jira] [Created] (NIFI-5222) With validation being performed asynchronously, updating a processor causes validation to occur 3 times instead of once

Mark Payne created NIFI-5222:
--------------------------------

             Summary: 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


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)