You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2021/08/09 09:14:06 UTC
[iotdb] 01/01: fix defaut max_sync_log_lag
This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch fix_default_max_sync_log_lag
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 826c5b4134b95a4f244554302577a6c71043546c
Author: jt2594838 <jt...@163.com>
AuthorDate: Mon Aug 9 17:13:17 2021 +0800
fix defaut max_sync_log_lag
---
.../main/java/org/apache/iotdb/cluster/config/ClusterDescriptor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cluster/src/main/java/org/apache/iotdb/cluster/config/ClusterDescriptor.java b/cluster/src/main/java/org/apache/iotdb/cluster/config/ClusterDescriptor.java
index 9d983ac..f734b7e 100644
--- a/cluster/src/main/java/org/apache/iotdb/cluster/config/ClusterDescriptor.java
+++ b/cluster/src/main/java/org/apache/iotdb/cluster/config/ClusterDescriptor.java
@@ -300,7 +300,7 @@ public class ClusterDescriptor {
config.setMaxSyncLogLag(
Long.parseLong(
- properties.getProperty("max_sync_log_lag", String.valueOf(config.getMaxReadLogLag()))));
+ properties.getProperty("max_sync_log_lag", String.valueOf(config.getMaxSyncLogLag()))));
config.setMaxClientPerNodePerMember(
Integer.parseInt(