cxzl25 commented on code in PR #2684:
URL: https://github.com/apache/incubator-kyuubi/pull/2684#discussion_r875514872


##########
kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/ServiceDiscovery.scala:
##########
@@ -63,9 +63,22 @@ abstract class ServiceDiscovery(
 
   // stop the server genteelly
   def stopGracefully(isLost: Boolean = false): Unit = {
-    while (fe.be != null && fe.be.sessionManager.getOpenSessionCount > 0) {
-      debug(s"${fe.be.sessionManager.getOpenSessionCount} connection(s) are 
active, delay shutdown")

Review Comment:
   ok



-- 
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]

Reply via email to