Skip to content

Commit

Permalink
Remove extra root creation in ZKMetadataStore
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Sep 15, 2022
1 parent e527c6e commit a4997c6
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,6 @@ public boolean isAutoStartup() {
public synchronized void start() {
if (!this.running) {
try {
this.client.checkExists()
.creatingParentContainersIfNeeded()
.forPath(this.root);

this.client.createContainers(this.root);
this.cache = CuratorCache.builder(this.client, this.root).build();
this.cache.listenable().addListener(new MetadataStoreCacheListener());
Expand Down

0 comments on commit a4997c6

Please sign in to comment.