Skip to content

Commit a4997c6

Browse files
committed
Remove extra root creation in ZKMetadataStore
1 parent e527c6e commit a4997c6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spring-integration-zookeeper/src/main/java/org/springframework/integration/zookeeper/metadata/ZookeeperMetadataStore.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,6 @@ public boolean isAutoStartup() {
263263
public synchronized void start() {
264264
if (!this.running) {
265265
try {
266-
this.client.checkExists()
267-
.creatingParentContainersIfNeeded()
268-
.forPath(this.root);
269-
270266
this.client.createContainers(this.root);
271267
this.cache = CuratorCache.builder(this.client, this.root).build();
272268
this.cache.listenable().addListener(new MetadataStoreCacheListener());

0 commit comments

Comments
 (0)