A tool to find regions with invalid boundaries. It's used to help recover from a bad situation caused by tikv/tikv#10542.
Usage:
pd-ctl region > region.json
- put json under the project directory
go run main.go
How to recover: Merge the regions with invalid boundaries with normal ones.