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

zhaoliwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/master by this push:
     new 1429bbb  feat: add config of partition_guardian_type (#809)
1429bbb is described below

commit 1429bbb28e7e7239ba825ed8bc17b3f193ae618b
Author: zhao liwei <[email protected]>
AuthorDate: Thu Sep 2 17:01:05 2021 +0800

    feat: add config of partition_guardian_type (#809)
---
 rdsn                  | 2 +-
 src/server/config.ini | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/rdsn b/rdsn
index a63f453..3bcff61 160000
--- a/rdsn
+++ b/rdsn
@@ -1 +1 @@
-Subproject commit a63f4531c2d654e36298586dcf993ad64a49f65f
+Subproject commit 3bcff61f1103d2947c2fc9b723f81b720f342c27
diff --git a/src/server/config.ini b/src/server/config.ini
index 0f3ae37..1d3e7ed 100644
--- a/src/server/config.ini
+++ b/src/server/config.ini
@@ -184,6 +184,9 @@
   max_succssive_unstable_restart = 5
 
   server_load_balancer_type = greedy_load_balancer
+  # partition guardian is used to keep partitions healthy. 
+  # e.g. if max_replicas_in_group = 3, one primary and two secondaries must be 
kept for each partition 
+  partition_guardian_type = partition_guardian
   replica_assign_delay_ms_for_dropouts = 600000
   max_replicas_in_group = 3
   balancer_in_turn = false

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to