Skip to content

Commit

Permalink
Add a link to explain how to change weight (#10404) (#10738)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Oct 11, 2022
1 parent a7916ec commit 3653226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion best-practices/pd-scheduling-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ If the scores of different stores are close, it means PD mistakenly believes tha

- There are hot regions that cause load imbalancing. In this case, you need to analyze further based on [hot regions scheduling](#hot-regions-are-not-evenly-distributed).
- There are a large number of empty regions or small regions, which leads to a great difference in the number of leaders in different stores and high pressure on Raft store. This is the time for a [region merge](#region-merge-is-slow) scheduling.
- Hardware and software environment varies among stores. You can adjust the values of `leader-weight` and `region-weight` accordingly to control the distribution of leader/region.
- Hardware and software environment varies among stores. To control the distribution of leader/region, you can refer to [Load balancing](#load-balancing) and adjust the values of `leader-weight` and `region-weight`.
- Other unknown reasons. Still you can adjust the values of `leader-weight` and `region-weight` to control the distribution of leader/region.

If there is a big difference in the rating of different stores, you need to examine the operator-related metrics, with special focus on the generation and execution of operators. There are two main situations:
Expand Down

0 comments on commit 3653226

Please sign in to comment.