EventFeed may miss some regions when region is splitting #303
Labels
area/ticdc
Issues or PRs related to TiCDC.
component/kv-client
TiKV kv log client component.
type/bug
This is a bug.
Projects
The function
partialRegionFeed
(in cdc/kv/client.go) accepts a region info from parameter and may reload region info from region cache before sending request. So it's possible that the region has changed after a split. As a result it will get a smaller region after callingregionCache.LocateKey
that doesn't cover the range hold by the parameterregionInfo
, so the remaining part of the range will be missing.The text was updated successfully, but these errors were encountered: