Skip to content

Commit

Permalink
[fix][broker] Fix the broker shutdown issue after Zookeeper node cras…
Browse files Browse the repository at this point in the history
…hed (#17909)

(cherry picked from commit e26060a)
  • Loading branch information
codelipenghui committed Oct 2, 2022
1 parent b07d31b commit 9de48f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public ZKMetadataStore(String metadataURL, MetadataStoreConfig metadataStoreConf
.sessionTimeoutMs(metadataStoreConfig.getSessionTimeoutMillis())
.watchers(Collections.singleton(event -> {
if (sessionWatcher != null) {
sessionWatcher.ifPresent(sw -> sw.process(event));
sessionWatcher.ifPresent(sw -> executor.execute(() -> sw.process(event)));
}
}))
.build();
Expand Down

0 comments on commit 9de48f5

Please sign in to comment.