Releases: tikv/pd
Releases · tikv/pd
pd-server v2.1.2
- Fix the Region information update issue about Region merge #1377
pd-server v2.0.11
Release v2.0.10 (#1384)
pd-server v2.0.10
- Fix the issue that
RaftCluster
cannot stop caused by deadlock #1383
pd-server v2.1.1
- Fix the issue that some configuration items cannot be set to
0
in the configuration file #1334 - Check the undefined configuration when starting PD #1362
- Avoid transferring the leader to a newly created peer, to optimize the possible delay #1339
- Fix the issue that
RaftCluster
cannot stop caused by deadlock #1370
pd-server v2.1.0
-
Optimize availability
- Introduce the version control mechanism and support rolling update of the cluster compatibly
- Enable
Raft PreVote
among PD nodes to avoid leader reelection when network recovers after network isolation - Enable
raft learner
by default to lower the risk of unavailable data caused by machine failure during scheduling - TSO allocation is no longer affected by the system clock going backwards
- Support the
Region merge
feature to reduce the overhead brought by metadata
-
Optimize the scheduler
- Optimize the processing of Down Store to speed up making up replicas
- Optimize the hotspot scheduler to improve its adaptability when traffic statistics information jitters
- Optimize the start of Coordinator to reduce the unnecessary scheduling caused by restarting PD
- Optimize the issue that Balance Scheduler schedules small Regions frequently
- Optimize Region merge to consider the number of rows within the Region
- Add more commands to control the scheduling policy
- Improve PD simulator to simulate the scheduling scenarios
-
API and operation tools
- Add the
GetPrevRegion
interface to support theTiDB reverse scan
feature - Add the
BatchSplitRegion
interface to speed up TiKV Region splitting - Add the
GCSafePoint
interface to support distributed GC in TiDB - Add the
GetAllStores
interface, to support distributed GC in TiDB - pd-ctl supports:
- pd-recover doesn't need to provide the
max-replica
parameter
- Add the
-
Metrics
- Add related metrics for
Filter
- Add metrics about etcd Raft state machine
- Add related metrics for
-
Performance
- Optimize the performance of Region heartbeat to reduce the memory overhead brought by heartbeats
- Optimize the Region tree performance
- Optimize the performance of computing hotspot statistics
pd-server v2.0.9
pd-server v2.1.0-rc.5
pd-server v2.1.0-rc.4
- Fix the issue that the tombstone TiKV is not removed from Grafana #1261
- Fix the data race issue when grpc-go configures the status #1265
- Fix the issue that the PD server gets stuck caused by etcd startup failure #1267
- Fix the issue that data race might occur during leader switching #1273
- Fix the issue that extra warning logs might be output when TiKV becomes tombstone #1280
pd-server v2.1.0-rc.3
pd-server v2.1.0-rc.2
Features
- Support the
GetAllStores
interface - Add the statistics of scheduling estimation in Simulator
Improvements
- Optimize the handling process of down stores to make up replicas as soon as possible
- Optimize the start of Coordinator to reduce the unnecessary scheduling caused by restarting PD
- Optimize the memory usage to reduce the overhead caused by heartbeats
- Optimize error handling and improve the log information
- Support querying the Region information of a specific store in pd-ctl
- Support querying the topN Region information based on version
- Support more accurate TSO decoding in pd-ctl
Bug fix
- Fix the issue that pd-ctl uses the
hot store
command to exit wrongly