Skip to content

Commit

Permalink
1、修复集群最少存活store数量参数名称
Browse files Browse the repository at this point in the history
  • Loading branch information
haohao0103 committed Jun 24, 2024
1 parent d43bdc4 commit c364da0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class PDConfig {
private long patrolInterval = 300; //巡查任务时间间隔
@Value("${pd.data-path}")
private String dataPath;
@Value("${pd.initial-store-count:3}")
@Value("${pd.min-store-count:3}")
private int minStoreCount;

// 初始store列表,该列表内的store自动激活
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ pd:
data-path: ./pd_data
# 自动扩容的检查周期,定时检查每个 store 的分区数量,自动进行分区数量平衡
patrol-interval: 1800
# 初始 store 列表,在列表内的 store 自动激活
initial-store-count: 1
# 可以接受最少存活的store节点数量,少于该数值整个集群不可用
min-store-count: 1
# grpc IP:grpc port
initial-store-list: 127.0.0.1:8500

Expand Down

0 comments on commit c364da0

Please sign in to comment.