This is an automated email from the ASF dual-hosted git repository.
jackietien 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 ae77b4f360e [IOTDB-6190] Increase the threshold for Ratis to shut
itself down if it detects that a process is stuck
ae77b4f360e is described below
commit ae77b4f360ee48b7b0dfb1c08cabf6f67a1e3acf
Author: Potato <[email protected]>
AuthorDate: Fri Oct 13 17:52:47 2023 +0800
[IOTDB-6190] Increase the threshold for Ratis to shut itself down if it
detects that a process is stuck
---
.../src/main/java/org/apache/iotdb/consensus/config/RatisConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/config/RatisConfig.java
b/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/config/RatisConfig.java
index c1b97bfceea..f55cbb75d22 100644
---
a/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/config/RatisConfig.java
+++
b/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/config/RatisConfig.java
@@ -267,7 +267,7 @@ public class RatisConfig {
private TimeDuration timeoutMax = TimeDuration.valueOf(4,
TimeUnit.SECONDS);
private TimeDuration requestTimeout = TimeDuration.valueOf(20,
TimeUnit.SECONDS);
private TimeDuration sleepTime = TimeDuration.valueOf(1,
TimeUnit.SECONDS);
- private TimeDuration slownessTimeout = TimeDuration.valueOf(10,
TimeUnit.MINUTES);
+ private TimeDuration slownessTimeout = TimeDuration.valueOf(3,
TimeUnit.DAYS);
private TimeDuration firstElectionTimeoutMin =
TimeDuration.valueOf(50, TimeUnit.MILLISECONDS);