[ 
https://issues.apache.org/jira/browse/NIFI-12370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-12370:
------------------------------------
    Fix Version/s: 2.0.0-M1
                       (was: 2.0.0)

> DistributedMapCacheClientService leaks threads
> ----------------------------------------------
>
>                 Key: NIFI-12370
>                 URL: https://issues.apache.org/jira/browse/NIFI-12370
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.21.0, 1.22.0, 1.23.2
>            Reporter: Eric Secules
>            Assignee: David Handermann
>            Priority: Major
>             Fix For: 2.0.0-M1, 1.24.0
>
>         Attachments: Test_NIFI-12370.xml
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> # Using the attached flow template first enable and run the flow. This should 
> exercise the cache.
> # run `nifi.sh diagnostics --verbose` and save the file
> # Disable and delete the controller services
> # run `nifi.sh diagnostics --verbose` and save the file with a different name
> # compare the thread dumps. The second file should not have any threads 
> related to the DistributedMapCacheClientService but it will.
> # create and enable new controller services and link them to the Wait and 
> Notify processors
> #  run `nifi.sh diagnostics --verbose` and save the file with a different name
> # There should be threads from two separate DistributedMapCacheClientServices 
> like this:
> {code:java}
> "NettyDistributedMapCacheClient[d06c8ea0-018b-1000-2904-26aa7612632a]-3-1"
> "NettyDistributedMapCacheClient[d06c8ea0-018b-1000-2904-26aa7612632a]-3-2"
> "NettyDistributedMapCacheClient[d06c8ea0-018b-1000-2904-26aa7612632a]-3-3"
> "NettyDistributedMapCacheClient[d06c8ea0-018b-1000-2904-26aa7612632a]-3-4"
> "NettyDistributedMapCacheClient[d0774323-018b-1000-5e78-07a7455a2bd2]-5-1"
> "NettyDistributedMapCacheClient[d0774323-018b-1000-5e78-07a7455a2bd2]-5-2"
> {code}
> Slack Thread: 
> https://apachenifi.slack.com/archives/C0L9VCD47/p1700009443394479
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to