Error Occurred When Querying TiFlash

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 查询走tiflash报错

| username: Jolyne

[TiDB Usage Environment] Production
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
Enabled TiFlash replica query error, TiFlash timeout, network and ports are normal, TiFlash component is also online, found errors in the logs
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachment: Screenshot/Logs/Monitoring]

| username: Jolyne | Original post link

Is it a region cache issue? After removing and re-adding the TiFlash replica, it returned to normal.

| username: h5n1 | Original post link

If there is an issue with the region replicas of TiFlash or they are in the process of splitting/merging, the information in the region cache will theoretically be automatically updated.

| username: TiDBer_小阿飞 | Original post link

When the region cache expires, there is a place that will return an “epoch not match” error.
Adjust the region-cache-ttl parameter to extend the expiration time of the region cache.

| username: dba远航 | Original post link

It feels like the data synchronization of TiFlash caused it.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.