-
Notifications
You must be signed in to change notification settings - Fork 725
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick commits to release-2.0. (#1050)
* server: skip check a region if there is already a pending operator. (#1029) * pdctl, api, schedule: pdctl supports scatter region. (#1028) * add change log (#1024) * scheduler: hot write scheduler randomly select the balance strategy (#1034) * *: new store region score function for balance (#1014) * core: adjust capacity to fit for more cases (#1035) * check config validation (#1036) * *: add metrics for hotspot cache (#1027) * Refine install instructions. (#1041) These extra steps can help new users who are perhaps not quite so familiar with Go setup and conventions. * *: add change log for 2.0 GA (#1038) * *: add change log for ga. * scheduler: adjust metrics (#1042) * fix parse error of config.toml (#1043) * server: resign pd leader when it is not same as etcd leader. (#1039) * server: fix the valid scheduler was deleted when start coordinator (#1045) * server: fix the valid scheduler was deleted when start coordinator
- Loading branch information
Showing
46 changed files
with
1,038 additions
and
681 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# PD Change Log | ||
|
||
## v2.0.0-GA | ||
### New Feature | ||
* Support using pd-ctl to scatter specified Regions for manually adjusting hotspot Regions in some cases | ||
### Improvements | ||
* Improve configuration check rules to prevent unreasonable scheduling configuration | ||
* Optimize the scheduling strategy when a TiKV node has insufficient space so as to prevent the disk from being fully occupied | ||
* Optimize hot-region scheduler execution efficiency and add more metrics | ||
* Optimize Region health check logic to avoid generating redundant schedule operators | ||
|
||
## v2.0.0-rc.5 | ||
### New Feature | ||
* Support adding the learner node | ||
### Improvements | ||
* Optimize the Balance Region Scheduler to reduce scheduling overhead | ||
* Adjust the default value of `schedule-limit` configuration | ||
* Fix the compatibility issue when adding a new scheduler | ||
### Bug Fix | ||
* Fix the issue of allocating IDs frequently | ||
|
||
## v2.0.0-rc.4 | ||
### New Feature | ||
* Support splitting Region manually to handle the hot spot in a single Region | ||
### Improvement | ||
* Optimize metrics | ||
### Bug Fix | ||
* Fix the issue that the label property is not displayed when `pdctl` runs `config show all` | ||
|
||
## v2.0.0-rc3 | ||
### New Feature | ||
* Support Region Merge, to merge empty Regions or small Regions after deleting data | ||
### Improvements | ||
* Ignore the nodes that have a lot of pending peers during adding replicas, to improve the speed of restoring replicas or making nodes offline | ||
* Optimize the scheduling speed of leader balance in scenarios of unbalanced resources within different labels | ||
* Add more statistics about abnormal Regions | ||
### Bug Fix | ||
* Fix the frequent scheduling issue caused by a large number of empty Regions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,9 @@ PD supports distribution and fault-tolerance by embedding [etcd](https://github. | |
## Build | ||
|
||
1. Make sure [*Go*](https://golang.org/) (version 1.8+) is installed. | ||
2. Use `make` to install PD. PD is installed in the `bin` directory. | ||
2. Ensure your `$GOPATH` is set. (For example, `export GOPATH=$HOME/go`) | ||
3. Clone the repository with `git clone [email protected]:pingcap/pd.git $GOPATH/src/github.com/pingcap/pd`. | ||
4. Use `make` to install PD. PD is installed in the `bin` directory. | ||
|
||
## Usage | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.