KarmaGYZ commented on code in PR #23415:
URL: https://github.com/apache/flink/pull/23415#discussion_r1349440903
##########
flink-runtime/src/main/java/org/apache/flink/runtime/leaderretrieval/ZooKeeperLeaderRetrievalDriver.java:
##########
@@ -122,6 +125,19 @@ public void close() throws Exception {
client.getConnectionStateListenable().removeListener(connectionStateListener);
cache.close();
+
+ try {
+ if (client.getZookeeperClient().isConnected()
+ &&
!connectionInformationPath.contains(RESOURCE_MANAGER_NODE)) {
Review Comment:
Also an exclusive curator framework per JobMaster will definitely harm the
performance and add additional pressure to ZooKeeper.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]