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


##########
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:
   Now that I think about it, if we want the option to fetch greater batch size 
from the db for batch-job submission records, we can use reuse existing 
`recoveryNumThreads `config as the default is 10 but this is a config-value 
that could accept custom-value to recovery more batches at a time... 
@ruanwenjun 



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