You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/08/09 09:43:15 UTC

[iotdb] branch master updated: fix defaut max_sync_log_lag (#3704)

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 8168911  fix defaut max_sync_log_lag (#3704)
8168911 is described below

commit 816891174a3a58a84eb1ec8b23d1b38ff9adf34c
Author: Jiang Tian <jt...@163.com>
AuthorDate: Mon Aug 9 17:42:49 2021 +0800

    fix defaut max_sync_log_lag (#3704)
---
 .../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(