tikv / pd

Placement driver for TiKV
Apache License 2.0
1.05k stars 720 forks source link

Reduce memory usage of Placement Rules Cache #5864

Open HunDunDM opened 1 year ago

HunDunDM commented 1 year ago

Development Task

When the Placement Rules Cache is enabled, if the number of Regions is large, a very large amount of memory will be used.

Reduce memory usage to reduce the risk of PD OOM when this feature is enabled.

HunDunDM commented 1 year ago

ref #5473