Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
scheduler: check replica for hot region #1609
What problem does this PR solve?
We don't check the number of replicas when scheduling the hot region.
What is changed and how it works?
This PR improves it by checking if it is lack of replicas or has learner peer, just like the balance region does.