[ https://issues.apache.org/jira/browse/NIFI-12370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Secules updated NIFI-12370: -------------------------------- Description: # 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. # repeat step 1 and 2, and look at the thread dump again. There should be threads from two separate DistributedMapCacheClientServices like this: ``` "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" ``` was: * 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 leaks threads > ---------------------------------------------- > > Key: NIFI-12370 > URL: https://issues.apache.org/jira/browse/NIFI-12370 > Project: Apache NiFi > Issue Type: Bug > Affects Versions: 1.23.2 > Reporter: Eric Secules > Priority: Major > Fix For: 1.latest, 2.latest > > Attachments: Test_NIFI-12370.xml > > > # 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. > # repeat step 1 and 2, and look at the thread dump again. There should be > threads from two separate DistributedMapCacheClientServices like this: > ``` > "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" > ``` > -- This message was sent by Atlassian Jira (v8.20.10#820010)