You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "ulysses-you (via GitHub)" <gi...@apache.org> on 2023/03/09 01:29:32 UTC
[GitHub] [kyuubi] ulysses-you commented on a diff in pull request #4480: Close the thrift connection of KyuubiServer when backend engine is determined as dead by EngineAliveProbe
ulysses-you commented on code in PR #4480:
URL: https://github.com/apache/kyuubi/pull/4480#discussion_r1130271789
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala:
##########
@@ -193,7 +201,9 @@ class KyuubiSyncThriftClient private (
def closeSession(): Unit = {
try {
Review Comment:
we can fast fail at the head of method, e.g. `if (isClosed) return`
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org