From 2fd4b69efb360dda7e318fd0875bde1be9d7f4d5 Mon Sep 17 00:00:00 2001 From: "alan578.zhao" <956322745@qq.com> Date: Mon, 15 Jul 2024 11:14:54 +0800 Subject: [PATCH] #2579 PD cluster will assess the overall health of the cluster. If the number of store nodes is less than the initial-store-count, the cluster will be unavailable --- .../hg-pd-dist/src/assembly/static/conf/application.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hugegraph-pd/hg-pd-dist/src/assembly/static/conf/application.yml b/hugegraph-pd/hg-pd-dist/src/assembly/static/conf/application.yml index e673e97d7c..eb8fda4526 100644 --- a/hugegraph-pd/hg-pd-dist/src/assembly/static/conf/application.yml +++ b/hugegraph-pd/hg-pd-dist/src/assembly/static/conf/application.yml @@ -49,9 +49,9 @@ pd: data-path: ./pd_data # The check cycle of automatic expansion regularly checks the number of partitions in each store and automatically balances the number of partitions patrol-interval: 1800 - # The initial store list, grpc IP: grpc port, the store in the list is automatically activated + # The minimum number of surviving store nodes, less than which the entire cluster is unavailable initial-store-count: 1 - # grpc IP:grpc port + # The initial store list, grpc IP: grpc port, the store in the list is automatically activated initial-store-list: 127.0.0.1:8500 raft: @@ -70,7 +70,6 @@ store: monitor_data_interval: 1 minute # Retention time of monitoring data is 1 day; day, month, year monitor_data_retention: 1 day - initial-store-count: 1 partition: # Default number of replicas per partition