通过tiflash查询,报错: Failed to register MPP Task MPP<query:442793752507187236,task:30>, reason: query is being aborted, error message = Receive cancel request from TiDB

【 TiDB 使用环境】
生产环境

【 TiDB 版本】
v6.5.2

【复现路径】做过哪些操作出现的问题

【遇到的问题:问题现象及影响】
通过tiflash查询报错

【资源配置】进入到 TiDB Dashboard -集群信息 (Cluster Info) -主机(Hosts) 截图此页面

【附件:截图/日志/监控】

2023-07-12 09:08:40.839 [TID:b347b0e6a06343deaf4a7e6e6e692608.1402.16891241155189171] [XNIO-1 task-9] ERROR i.s.r.d.s.s.c.AbstractTableMetaCache -get table meta of the table `wat_check_delivery_bill_detail_record` error: DB::TiFlashException: Failed to register MPP Task MPP<query:442793752507187236,task:30>, reason: query is being aborted, error message = Receive cancel request from TiDB
java.sql.SQLException: DB::TiFlashException: Failed to register MPP Task MPP<query:442793752507187236,task:30>, reason: query is being aborted, error message = Receive cancel request from TiDB

发现一个issue: tiflash report “DB::TiFlashException: Failed to register MPP Task MPP” during query · Issue #7744 · pingcap/tiflash (github.com)

请问这是什么问题,什么版本修复?

:thinking:好像是中奖了

日志的上下文可以跟bug对比下。如果中了,可以尝试更新版本

100%BUG, 不过目前还没新版本 :sweat_smile:

1 个赞

6.5.x不会修复这个了 ,需要用最新的版本

目测是bug 而且被你重现了

使用 MPP 模式 | PingCAP 文档中心

get table meta of the table xxxx error:
DB::TiFlashException: Failed to register MPP Task MPP

获取表的元数据出现异常,看起来是遇到TiFlash MPP 的bug了,等待官方修复问题吧。

可以在测试环境使用新版本是否修复该问题,如果没有复现可能要升级。
或者尝试修改查询的业务SQL,通过其他方式绕过、实现查询。