You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Force offline a store to turn it into a tombstone store and some regions still have peers on it.
TiDB doesn't cache the tombstone store's information so it will query PD.
TiDB returns a store-not-found error to the user.
RegionCache can't handle peers on a tombstone store now. If TiDB tries to access the peer, TiDB will report backoff timeout. If the tombstone information is deleted from the PD, TiDB will return a store-not-found error to the user.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
RegionCache
can't handle peers on a tombstone store now. If TiDB tries to access the peer, TiDB will report backoff timeout. If the tombstone information is deleted from the PD, TiDB will return a store-not-found error to the user.tidb/store/tikv/region_cache.go
Lines 1779 to 1795 in 18cbfaa
BTW,
RegionCache
doesn't retry if it fails to callGetStore
. The error will be reported to the user too.tidb/store/tikv/region_cache.go
Lines 198 to 201 in 18cbfaa
2. What did you expect to see? (Required)
TiDB works normally.
3. What did you see instead (Required)
TiDB report an error to the user.
4. What is your TiDB version? (Required)
All version
The text was updated successfully, but these errors were encountered: