又遇到了该问题目前是2.5.12版本,主键表的SQL执行超时,将报错中timeout的节点be服务停掉之后 数据就可以正常查询了
背景:当天新增了多个任务补数据写入可能比较频繁,看了下这次的BE节点没有重启。
mysql> select * From xxxxx limit 1;
ERROR 1064 (HY000): query timeout. backend id: 136708581
W1019 04:29:26.394521 265245 tablet_updates.cpp:1309] wait_for_version timeout(56002ms) version:4021 tablet:144791676 #version:868 [3157 3157@0 4023] pending: rowsets:867[id/seg/row/del/byte/compaction]: [1197/1/1395953/0/231.56 MB/24.44 MB],[1198/1/190/0/42.91 KB/255.96 MB],[1199/1/363/0/78.40 KB/255.92 MB],[1200/1/383/0/82.35 KB/255.92 MB],[1201/1/382/0/77.71 KB/255.92 MB],[1202/1/481/0/97.25 KB/255.91 MB],[1203/1/557/0/112.11 KB/255.89 MB],[1204/1/639/0/128.17 KB/255.87 MB],[1205/1/1032/0/198.49 KB/255.81 MB],[1206/1/1157/0/222.27 KB/255.78 MB],[1207/1/358/0/79.55 KB/255.92 MB]...,[2055/1/856/0/168.02 KB/255.84 MB],[2056/1/881/0/172.44 KB/255.83 MB],[2057/1/738/0/147.62 KB/255.86 MB],[2058/1/881/0/172.44 KB/255.83 MB],[2059/1/828/0/162.91 KB/255.84 MB],[2060/1/856/0/168.05 KB/255.84 MB],[2061/1/805/0/158.98 KB/255.84 MB],[2062/1/774/0/153.58 KB/255.85 MB],[2063/1/828/0/162.91 KB/255.84 MB]
W1019 04:29:26.394747 265245 internal_service.cpp:242] exec multi plan fragments failed, errmsg=wait_for_version timeout(56002ms) version:4021 tablet:144791676 #version:868 [3157 3157@0 4023] pending: rowsets:867[id/seg/row/del/byte/compaction]: [1197/1/1395953/0/231.56 MB/24.44 MB],[1198/1/190/0/42.91 KB/255.96 MB],[1199/1/363/0/78.40 KB/255.92 MB],[1200/1/383/0/82.35 KB/255.92 MB],[1201/1/382/0/77.71 KB/255.92 MB],[1202/1/481/0/97.25 KB/255.91 MB],[1203/1/557/0/112.11 KB/255.89 MB],[1204/1/639/0/128.17 KB/255.87 MB],[1205/1/1032/0/198.49 KB/255.81 MB],[1206/1/1157/0/222.27 KB/255.78 MB],[1207/1/358/0/79.55 KB/255.92 MB]...,[2055/1/856/0/168.02 KB/255.84 MB],[2056/1/881/0/172.44 KB/255.83 MB],[2057/1/738/0/147.62 KB/255.86 MB],[2058/1/881/0/172.44 KB/255.83 MB],[2059/1/828/0/162.91 KB/255.84 MB],[2060/1/856/0/168.05 KB/255.84 MB],[2061/1/805/0/158.98 KB/255.84 MB],[2062/1/774/0/153.58 KB/255.85 MB],[2063/1/828/0/162.91 KB/255.84 MB]
看起来有点类似这位老哥的问题:StarRocks查询主键表超时,主键表某个分区不可查询如何修复