You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/08/18 02:22:24 UTC

[GitHub] [shardingsphere] taojintianxia commented on a change in pull request #11848: Fix zookeeper watcher was repeatedly called at startup

taojintianxia commented on a change in pull request #11848:
URL: https://github.com/apache/shardingsphere/pull/11848#discussion_r690850956



##########
File path: shardingsphere-governance/shardingsphere-governance-repository/shardingsphere-governance-repository-provider/shardingsphere-governance-repository-zookeeper-curator/src/main/java/org/apache/shardingsphere/governance/repository/zookeeper/CuratorZookeeperRepository.java
##########
@@ -262,13 +264,13 @@ private void addCacheData(final String cachePath) {
         caches.put(cachePath + PATH_SEPARATOR, cache);
     }
     
-    private Type getChangedType(final CuratorCacheListener.Type type) {
+    private Type getChangedType(final TreeCacheEvent.Type type) {

Review comment:
       why not use a map here ?




-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org