You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#6662 also exposes another problem. When too many peers are replicated to the redundant TiKV stores, the following code of rule-checker will generate a huge number of loops, resulting in its almost stuck and unable to complete the patrol of the region for a long time.
If a region owns 36 peers, the limit here will reach 68719476735. We may need to optimize this kind of case to make sure fitRegion could be finished in a reasonable time.
The text was updated successfully, but these errors were encountered:
JmPotato
changed the title
Too many peers may cause rule-checker to be stuck by fitRegion.
Too many peers may cause rule-checker to be stuck by fitRegion
Jun 24, 2023
Bug Report
#6662 also exposes another problem. When too many peers are replicated to the redundant TiKV stores, the following code of
rule-checker
will generate a huge number of loops, resulting in its almost stuck and unable to complete the patrol of the region for a long time.pd/pkg/schedule/placement/fit.go
Lines 269 to 283 in ac31f87
If a region owns 36 peers, the
limit
here will reach 68719476735. We may need to optimize this kind of case to make surefitRegion
could be finished in a reasonable time.The text was updated successfully, but these errors were encountered: