Remove intersecting regions in the region cache when updating regions #37141
Labels
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
type/enhancement
Enhancement
When many regions are merged together, the stale regions won't be removed from the cache. This may waste CPU in b-tree searching or use incorrect region info to access TiKV.
See tikv/client-go#565 for details
The text was updated successfully, but these errors were encountered: