ruanwenjun commented on code in PR #7227:
URL: https://github.com/apache/kyuubi/pull/7227#discussion_r2588067558


##########
kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiRestFrontendService.scala:
##########
@@ -181,36 +181,51 @@ class KyuubiRestFrontendService(override val serverable: 
Serverable)
   @VisibleForTesting
   private[kyuubi] def recoverBatchSessions(): Unit = 
withBatchRecoveryLockRequired {
     val recoveryNumThreads = conf.get(METADATA_RECOVERY_THREADS)
+    val recoveryBatchSize: Int = conf.get(BATCH_SESSIONS_RECOVERY_SIZE)

Review Comment:
   OK, I'm not sure if I understand this scene. In my view, what needs to be 
done here is to query the tasks requiring recovery from the database and then 
commit them. If the number of tasks queried exceeds the number of concurrent 
commits, it seems pointless.



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