Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: Executor依据什么判断TiKV Client中region cache缓存的region元数据信息过期的?
What does the Executor rely on to determine that the region metadata information cached in the region cache of the TiKV Client is expired?
PD → Sends a request to the TiKV of region1
After obtaining it, it will still be sent to the recorded TiKV. If the cache is invalid or the leader drifts, it will back off and re-query PD to update the information and refresh the cache.
That means if it is not hit, it is considered expired, and then it is retrieved again from PD.
Yes, backoff re-queries PD information and then updates the region cache.
Similar to the usage of Redis
This topic will be automatically closed 60 days after the last reply. No new replies are allowed.