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:05 UTC

[iotdb] branch fix_default_max_sync_log_lag created (now 826c5b4)

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

jiangtian pushed a change to branch fix_default_max_sync_log_lag
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at 826c5b4  fix defaut max_sync_log_lag

This branch includes the following new commits:

     new 826c5b4  fix defaut max_sync_log_lag

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[iotdb] 01/01: fix defaut max_sync_log_lag

Posted by ji...@apache.org.
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(