You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2022/05/26 21:13:34 UTC

[nifi] branch main updated: NIFI-10059 Remove incorrect removal of controller service from cache (#6082)

This is an automated email from the ASF dual-hosted git repository.

markap14 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 98ec2563e9 NIFI-10059 Remove incorrect removal of controller service from cache (#6082)
98ec2563e9 is described below

commit 98ec2563e9afdee83badd250d37f4a96d7e068c1
Author: Bryan Bende <bb...@gmail.com>
AuthorDate: Thu May 26 17:13:28 2022 -0400

    NIFI-10059 Remove incorrect removal of controller service from cache (#6082)
---
 .../nifi/controller/service/StandardControllerServiceProvider.java       | 1 -
 1 file changed, 1 deletion(-)

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/service/StandardControllerServiceProvider.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/service/StandardControllerServiceProvider.java
index a42fbbb569..6a1195cc75 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/service/StandardControllerServiceProvider.java
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/service/StandardControllerServiceProvider.java
@@ -539,7 +539,6 @@ public class StandardControllerServiceProvider implements ControllerServiceProvi
     @Override
     public void removeControllerService(final ControllerServiceNode serviceNode) {
         requireNonNull(serviceNode);
-        serviceCache.remove(serviceNode.getIdentifier());
 
         final ProcessGroup group = serviceNode.getProcessGroup();
         if (group == null) {