mirror of https://github.com/apache/druid.git
curator 2.4.0 and Announcer logging lines are added regarding infos of reinstating
This commit is contained in:
parent
38e9a79560
commit
dca965a35a
2
pom.xml
2
pom.xml
|
@ -40,7 +40,7 @@
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<metamx.java-util.version>0.25.3</metamx.java-util.version>
|
||||
<apache.curator.version>2.3.0</apache.curator.version>
|
||||
<apache.curator.version>2.4.0</apache.curator.version>
|
||||
<druid.api.version>0.1.8</druid.api.version>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -207,10 +207,13 @@ public class Announcer
|
|||
|
||||
Set<String> pathsToReinstate = Sets.newHashSet();
|
||||
for (String node : finalSubPaths.keySet()) {
|
||||
pathsToReinstate.add(ZKPaths.makePath(parentPath, node));
|
||||
String path = ZKPaths.makePath(parentPath, node);
|
||||
log.info("Node[%s] is added to reinstate.", path);
|
||||
pathsToReinstate.add(path);
|
||||
}
|
||||
|
||||
for (ChildData data : cache.getCurrentData()) {
|
||||
log.info("Node[%s] in cache is removed to reinstate.", data.getPath());
|
||||
pathsToReinstate.remove(data.getPath());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue