LiangDai-Mars commented on code in PR #3997:
URL: https://github.com/apache/amoro/pull/3997#discussion_r2616205465


##########
amoro-ams/src/main/java/org/apache/amoro/server/AmoroManagementConf.java:
##########
@@ -536,6 +560,10 @@ public class AmoroManagementConf {
   public static final String DB_TYPE_MYSQL = "mysql";
   public static final String DB_TYPE_POSTGRES = "postgres";
 
+  // HA config
+  public static final String HA_TYPE_ZK = "zk";
+  public static final String HA_TYPE_JDBC = "jdbc";

Review Comment:
   fixed



##########
amoro-ams/src/main/java/org/apache/amoro/server/AmoroManagementConf.java:
##########
@@ -247,6 +259,18 @@ public class AmoroManagementConf {
           .defaultValue(Duration.ofSeconds(300))
           .withDescription("The Zookeeper connection timeout in 
milliseconds.");
 
+  public static final ConfigOption<java.time.Duration> HA_LEASE_TTL =
+      ConfigOptions.key("ha.lease-ttl")
+          .durationType()
+          .defaultValue(java.time.Duration.ofSeconds(30))
+          .withDescription("TTL of HA lease.");
+
+  public static final ConfigOption<String> HA_JDBC_LEASE_TABLE =

Review Comment:
   fixed



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

Reply via email to