[
https://issues.apache.org/jira/browse/NIFI-9365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17458620#comment-17458620
]
ASF subversion and git services commented on NIFI-9365:
-------------------------------------------------------
Commit 36ecf43a300a274d5cf3b4468e29ac91dc10332d in nifi's branch
refs/heads/support/nifi-1.15 from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=36ecf43 ]
NIFI-9365: Changed HashMap to ConcurrentHashMap in StandardProcessorNode for
the activeThreads, because we have a need to iterate over it outside of
synchronized keyword
> Node can fail to offload due to ConcurrentModificationException
> ---------------------------------------------------------------
>
> Key: NIFI-9365
> URL: https://issues.apache.org/jira/browse/NIFI-9365
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.16.0, 1.15.1
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> I created a System Test that create a cluster, add some processors to the
> flow, and run the flow. Then disconnect one of the nodes and offload it. When
> successful, reconnect node, destroy flow, and start over. Repeat for several
> iterations.
> Intention here was to ensure that we successfully complete offloading after
> trying many times. After several iterations, I encountered a
> ConcurrentModificationException in StandardProcessorNode#getActiveThreads.
> This caused the node not to complete its offloading.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)