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

mytang0 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new 22cfe2097 [ISSUE #2934] Removing register info from 
eventMeshRegisterInfoMap
     new 185b9a25b Merge pull request #3326 from PickBas/fix-2934
22cfe2097 is described below

commit 22cfe20977f666cde44ec2daff513021a2c5b7e0
Author: Kirill Saied <[email protected]>
AuthorDate: Thu Mar 2 13:51:53 2023 +0300

    [ISSUE #2934] Removing register info from eventMeshRegisterInfoMap
---
 .../apache/eventmesh/registry/nacos/service/NacosRegistryService.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/eventmesh-registry-plugin/eventmesh-registry-nacos/src/main/java/org/apache/eventmesh/registry/nacos/service/NacosRegistryService.java
 
b/eventmesh-registry-plugin/eventmesh-registry-nacos/src/main/java/org/apache/eventmesh/registry/nacos/service/NacosRegistryService.java
index 3ad9500d7..efb0385e8 100644
--- 
a/eventmesh-registry-plugin/eventmesh-registry-nacos/src/main/java/org/apache/eventmesh/registry/nacos/service/NacosRegistryService.java
+++ 
b/eventmesh-registry-plugin/eventmesh-registry-nacos/src/main/java/org/apache/eventmesh/registry/nacos/service/NacosRegistryService.java
@@ -238,6 +238,7 @@ public class NacosRegistryService implements 
RegistryService {
             instance.setClusterName(eventMeshClusterName);
             namingService.deregisterInstance(eventMeshName, 
eventMeshUnRegisterInfo.getProtocolType()
                 + "-" + NacosConstant.GROUP, instance);
+            eventMeshRegisterInfoMap.remove(eventMeshName);
         } catch (NacosException e) {
             log.error("[NacosRegistryService][unRegister] error", e);
             throw new RegistryException(e.getMessage());


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to