You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by hu...@apache.org on 2025/09/17 12:09:29 UTC

(kvrocks-controller) branch unstable updated: Fix the wrong configuration min_alive_size which should be max_ping_count (#350)

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

hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 9620d73  Fix the wrong configuration min_alive_size which should be max_ping_count (#350)
9620d73 is described below

commit 9620d73e859f012eac4ff3724f67fe9ecfc79c4d
Author: Ninuxer <31...@users.noreply.github.com>
AuthorDate: Wed Sep 17 20:09:25 2025 +0800

    Fix the wrong configuration min_alive_size which should be max_ping_count (#350)
---
 config/config-consul.yaml | 2 +-
 config/config-raft.yaml   | 4 ++--
 config/config-zk.yaml     | 4 ++--
 config/config.yaml        | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/config/config-consul.yaml b/config/config-consul.yaml
index 28f5e33..2c86b06 100644
--- a/config/config-consul.yaml
+++ b/config/config-consul.yaml
@@ -38,7 +38,7 @@ consul:
 controller:
   failover:
     ping_interval_seconds: 3
-    min_alive_size: 5
+    max_ping_count: 5
 # Uncomment this part to save logs to filename instead of stdout
 #log:
 #  level: info
diff --git a/config/config-raft.yaml b/config/config-raft.yaml
index 3f1bb34..3d5ef88 100644
--- a/config/config-raft.yaml
+++ b/config/config-raft.yaml
@@ -41,7 +41,7 @@ raft:
 controller:
   failover:
     ping_interval_seconds: 3
-    min_alive_size: 5
+    max_ping_count: 5
 
 # Uncomment this part to save logs to filename instead of stdout
 #log:
@@ -50,4 +50,4 @@ controller:
 #  max_backups: 10
 #  max_age: 7
 #  max_size: 100
-#  compress: false
\ No newline at end of file
+#  compress: false
diff --git a/config/config-zk.yaml b/config/config-zk.yaml
index 1870b23..9fa70aa 100644
--- a/config/config-zk.yaml
+++ b/config/config-zk.yaml
@@ -36,7 +36,7 @@ zookeeper:
 controller:
   failover:
     ping_interval_seconds: 3
-    min_alive_size: 5
+    max_ping_count: 5
 
 # Uncomment this part to save logs to filename instead of stdout
 #log:
@@ -45,4 +45,4 @@ controller:
 #  max_backups: 10
 #  max_age: 7
 #  max_size: 100
-#  compress: false
\ No newline at end of file
+#  compress: false
diff --git a/config/config.yaml b/config/config.yaml
index c3cfb0b..20f2420 100644
--- a/config/config.yaml
+++ b/config/config.yaml
@@ -41,7 +41,7 @@ etcd:
 controller:
   failover:
     ping_interval_seconds: 3
-    min_alive_size: 5
+    max_ping_count: 5
 
 # Uncomment this part to save logs to filename instead of stdout
 #log:
@@ -50,4 +50,4 @@ controller:
 #  max_backups: 10
 #  max_age: 7
 #  max_size: 100
-#  compress: false
\ No newline at end of file
+#  compress: false