Yangxuhao123 commented on code in PR #7558:
URL: https://github.com/apache/kyuubi/pull/7558#discussion_r3708984098
##########
kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperDiscoveryClient.scala:
##########
@@ -416,6 +549,14 @@ class ZookeeperDiscoveryClient(conf: KyuubiConf) extends
DiscoveryClient {
" ZooKeeper. The server will be shut down after the last client
session completes.")
ZookeeperDiscoveryClient.this.deregisterService()
serviceDiscovery.stopGracefully()
+ } else if (event.getType == Watcher.Event.EventType.NodeCreated) {
Review Comment:
We collaborated with the QA team and conducted a test. The conclusion was in
line with expectations. When triggering watch re-registration again, no new
engine instance would start.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]