You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/06/27 02:29:11 UTC

[GitHub] [incubator-kyuubi] yaooqinn commented on a diff in pull request #2946: Add retrying kyuubi thrift client for internal engine connection

yaooqinn commented on code in PR #2946:
URL: https://github.com/apache/incubator-kyuubi/pull/2946#discussion_r906924216


##########
kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala:
##########
@@ -1540,6 +1525,27 @@ object KyuubiConf {
       .stringConf
       .createOptional
 
+  val SESSION_RESERVE_ON_BROKEN_ENABLED: ConfigEntry[Boolean] =
+    buildConf("kyuubi.session.reserve.on.broken.enabled")
+      .internal
+      .doc("Whether to reserve the session on the transport protocol broken. Now we support" +
+        " RetryingKyuubiSyncThriftClient, it will close the recreate the protocol for thrift" +
+        " request retry, and we need reserve the session in engine side for that.")
+      .version("1.6.0")
+      .booleanConf
+      .createWithDefault(false)
+
+  val SESSION_RESERVE_ON_BROKEN_TIMEOUT: ConfigEntry[Long] =

Review Comment:
   `kyuubi.session.reserve.*` are unnecessary as a retry logic



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