[ 
https://issues.apache.org/jira/browse/NIFI-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505466#comment-16505466
 ] 

ASF subversion and git services commented on NIFI-5279:
-------------------------------------------------------

Commit 729f8aa246767df4a2930771673ca2a7e18957bd in nifi's branch 
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=729f8aa ]

NIFI-5279: Allow components up to 50 milliseconds to complete validation before 
returning from update request

This closes #2770.

Signed-off-by: Andy LoPresto <[email protected]>


> Wait a bit for components to finish validation on updates
> ---------------------------------------------------------
>
>                 Key: NIFI-5279
>                 URL: https://issues.apache.org/jira/browse/NIFI-5279
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.7.0
>
>
> When a Processor, Reporting Task, or Controller Service is updated, it is now 
> validated asynchronously. This provides a faster response time for the web 
> request but can sometimes result in a component showing a "Validating..." 
> state when the response is received, even though the validation logic would 
> complete very quickly. When we make an update to a component, instead of 
> immediately creating the DTO, which would reflect that the state is 
> "validating..." we should wait up to some amount of time (say 50 
> milliseconds?) for the validation to complete, before we create the response. 
> This way, components whose validation completes quickly still show as Valid 
> or Invalid as soon as the response comes back and only those components that 
> actually take a long time to validate will show as Validating.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to