ERROR 1064 (HY000): get_applied_rowsets failed, tablet updates is in error state

版本:2.5.11-b75b46d
5FE 11BE 3副本
执行select count(*) from xxx 报错

ERROR 1064 (HY000): get_applied_rowsets failed, tablet updates is in error state: tablet:28443261 actual row size changed after compaction 48643049 -> 48301965tablet:28443261 #version:2 [89.1 89.2@1 89.2] #pending:0 backend:10.133.xx.xx

对应BE节点上be.WARNING里日志

W1106 13:34:11.702847 47428 fragment_context.cpp:28] [Driver] Canceled, query_id=1d67bc2b-7c66-11ee-87d6-28e424bb04c5, instance_id=1d67bc2b-7c66-11ee-87d6-28e424bb04c9, reason=InternalError
W1106 13:34:12.143982 47402 internal_service.cpp:242] exec multi plan fragments failed, errmsg=get_applied_rowsets failed, tablet updates is in error state: tablet:28443265 actual row size changed after compaction 48646425 -> 48302029tablet:28443265 #version:2 [89.1 89.2@1 89.2] #pending:0

尝试过的操作:
已轮流重启过BE,但仍报错
show proc ‘/statistic’ 里没有UnhealthyTabletNum 和 InconsistentTabletNum
求解?

  • 表的数据模型是什么?
  • show tablet 28443261; 然后执行结果最后的 detailcmd 发下截图
  • detailcmd 结果中有个 CompactionStatus ,分别打开三副本的这个 url 发下截图或文件

:joy:通过快速重启BE解决了…之后如果再出现我粘下url信息


hi,我在2.5.22 遇到类似的问题了


1、 meta_tool.sh --operation=delete_persistent_index_meta 应该可以解决这个问题
2、 这是老版本升级到2.5.22后出现的?还是新版本自己出现的?(会不会是老版本历史遗留)

老版本升级到 2.5.22 出现的问题,升级后就有了。

使用 enable_pindex_minor_compaction=true 就恢复了