func isRegionOverlap(regA, regB hrpc.RegionInfo) bool { return bytes.Equal(regA.Table(), regB.Table()) && bytes.Compare(regA.StartKey(), regB.StopKey()) < 0 && bytes.Compare(regA.StopKey(), regB.StartKey()) > 0 }