Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: No available path for table xxx with the store type tiflash of the hint
[Test Environment] TiDB
[TiDB Version] 5.7.25-TiDB-v5.3.0
[Problem Encountered] When executing a query statement, a prompt is output along with the result.
[Reproduction Path] None
[Problem Phenomenon and Impact]
The executed statement is as follows:
SELECT /*+ read_from_storage(tiflash[t]) */ * FROM xxx t
The prompt message is as follows:
No available path for table xxx with the store type tiflash of the hint /*+ read_from_storage */,
please check the status of the table replica and variable value of tidb_isolation_read_engines(map[0:{} 1:{} 2:{}])
PS: When the hint is removed, there is no prompt message.