pan3793 commented on code in PR #5901:
URL: https://github.com/apache/kyuubi/pull/5901#discussion_r1434692076
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/engine/EngineRef.scala:
##########
@@ -307,6 +307,19 @@ private[kyuubi] class EngineRef(
}
}
+ /**
+ * Reset the engine ref from engine space with the given host and port on
connection failure.
+ *
+ * @param discoveryClient the zookeeper client to get or create engine
instance
+ * @param hostPort the exsiting engine host and port
+ */
+ def reset(discoveryClient: DiscoveryClient, hostPort: (String, Int)): Unit =
Review Comment:
deregister
--
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]