imfms commented on issue #10150:
URL: https://github.com/apache/dubbo/issues/10150#issuecomment-2505167696

   @chickenlj @AlbumenJ 
   ```
   dubbo:3.3.2
   curator:5.7.1
   zookeeper-server:3.7.2
   ```
   
   In my env, change these code
   
   
https://github.com/apache/dubbo/blob/3438707d452468e04ebadfccb7314cfedd389c32/dubbo-remoting/dubbo-remoting-zookeeper-curator5/src/main/java/org/apache/dubbo/remoting/zookeeper/curator5/Curator5ZookeeperClient.java#L340-L343
   
   to
   
   ```java
   public void doClose() {
       super.doClose();
       nodeCacheMap.forEach((path, nodeCache) -> 
CloseableUtils.closeQuietly(nodeCache));
       client.close();
   }
   ```
   
   can fix this problem. It looks like you need to close every NodeCache before 
close CuratorFramework.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to