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

liaoxin pushed a commit to branch revert-38896-opt_hb
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 3081fae10cd22472c0f8ee260c13089cec102181
Author: Xin Liao <liaoxin...@126.com>
AuthorDate: Wed Aug 7 14:15:12 2024 +0800

    Revert "[Opt](heartbeat) improve the tolerance of the cluster to occasional 
h…"
    
    This reverts commit afc484f386e4e2725624a46251633bd6ba4b0878.
---
 fe/fe-common/src/main/java/org/apache/doris/common/Config.java        | 4 ++--
 fe/fe-core/src/test/java/org/apache/doris/clone/TabletHealthTest.java | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java 
b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
index ff7078b7e3a..c8db6482428 100644
--- a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
+++ b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
@@ -1923,12 +1923,12 @@ public class Config extends ConfigBase {
 
     /**
      * Maximum backend heartbeat failure tolerance count.
-     * Default is 3, which means if 3 heart failed, the backend will be marked 
as dead.
+     * Default is 1, which means if 1 heart failed, the backend will be marked 
as dead.
      * A larger value can improve the tolerance of the cluster to occasional 
heartbeat failures.
      * For example, when running regression tests, this value can be increased.
      */
     @ConfField(mutable = true, masterOnly = true)
-    public static long max_backend_heartbeat_failure_tolerance_count = 3;
+    public static long max_backend_heartbeat_failure_tolerance_count = 1;
 
     /**
      * Abort transaction time after lost heartbeat.
diff --git 
a/fe/fe-core/src/test/java/org/apache/doris/clone/TabletHealthTest.java 
b/fe/fe-core/src/test/java/org/apache/doris/clone/TabletHealthTest.java
index 7949352eeb3..b22925e5d89 100644
--- a/fe/fe-core/src/test/java/org/apache/doris/clone/TabletHealthTest.java
+++ b/fe/fe-core/src/test/java/org/apache/doris/clone/TabletHealthTest.java
@@ -61,7 +61,6 @@ public class TabletHealthTest extends TestWithFeService {
         Config.colocate_group_relocate_delay_second = -1000; // be dead will 
imm relocate
         Config.tablet_schedule_interval_ms = 7200_000L;  //disable schedule
         Config.tablet_checker_interval_ms = 7200_000L;  //disable checker
-        Config.max_backend_heartbeat_failure_tolerance_count = 1;
     }
 
     @Override


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to