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

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

Commit 60b5c13ce95fd4d4a5edf0f08b81af19e71b67ee in nifi's branch 
refs/heads/master from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=60b5c13 ]

NIFI-6341: Addressed bug that can result in a deadlock if Thread 1 adds a 
Controller Service to a Process Group (which obtains group's write lock and 
AbstractComponent's Lock) while at the same time Thread 2 attempts to peform 
validation on the service (which obtains Controller Service's write lock, then 
AbstractComponent's Lock)

This closes #3510.

Signed-off-by: Bryan Bende <[email protected]>


> Deadlock can occur during asynchronous validation
> -------------------------------------------------
>
>                 Key: NIFI-6341
>                 URL: https://issues.apache.org/jira/browse/NIFI-6341
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.10.0
>
>         Attachments: NIFI-6341-thread-dump.txt
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> We can occasionally encounter a deadlock if a component is being validated at 
> the same time that it is being added to a Process Group. Relevant parts of a 
> thread dump attached.
>  



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

Reply via email to