为了更快的定位您的问题,请提供以下信息,谢谢
【详述】问题详细描述
有一个明细表ht_event,创建了一个同步物化视图mv_hit_event_1_5_count,执行如下查询SQL的时候就会报错:
select
source_organization_id key,
count(event_iid) AS value
from
watm.hit_event2
where
day between 20231026 and 20231226
and source_organization_id is not null
and source_organization_id != ‘’
group by
source_organization_id
order by
value desc
limit 300 ;
【背景】做过哪些操作?
升级StarRocks系统为3.1.4
物化视图及建表SQL如下: create.sql (9.4 KB)
【业务影响】
挂载该物化视图的SQL都会使be挂掉。
【是否存算分离】
否
【StarRocks版本】例如:3.1.4-0c4b2a3
【集群规模】例如:单节点3fe(1 follower+2observer)+3be(fe与be混部)
【机器信息】CPU虚拟核/内存/网卡,例如:48C/64G/万兆
【联系方式】为了在解决问题过程中能及时联系到您获取一些日志信息,请补充下您的联系方式,例如:社区群13-黄健
【附件】
是的,相关日志如下(同时,我把StarRocks集群降级到3.1.3就没这问题了):
2023-12-26 16:29:10,540 [query] |Client=10.100.14.61:55029|User=root|AuthorizedUser=‘root’@’%’|ResourceGroup=default_wg|Catalog=default_catalog|Db=watm|State=ERR|ErrorCode=THRIFT_RPC_ERROR|Time=1295|ScanBytes=0|ScanRows=0|ReturnRows=0|StmtId=667|QueryId=d716b459-a3c8-11ee-89cf-cabbfdde7f98|IsQuery=true|feIp=starrockscluster-fe-2.starrockscluster-fe-search.default.svc.cluster.local|Stmt=/* ApplicationName=DBeaver 23.3.0 - SQLEditor <Script-2.sql> / select source_organization_id key, count(event_iid) AS value from watm.hit_event where day between 20231219 and 20231226 and source_organization_id is not null and source_organization_id != ‘’ group by source_organization_id order by value desc limit 300 |Digest=|PlanCpuCost=4386570.600838726|PlanMemCost=80.07431250765617|CandidateMVs=mv_async_log_report,file_flow_view,file_flow_view
2023-12-26 16:28:19,325 [query] |Client=10.100.14.61:55029|User=root|AuthorizedUser=‘root’@’%’|ResourceGroup=default_wg|Catalog=default_catalog|Db=watm|State=ERR|ErrorCode=THRIFT_RPC_ERROR|Time=1413|ScanBytes=0|ScanRows=0|ReturnRows=0|StmtId=649|QueryId=b87de8ed-a3c8-11ee-89cf-cabbfdde7f98|IsQuery=true|feIp=starrockscluster-fe-2.starrockscluster-fe-search.default.svc.cluster.local|Stmt=/ ApplicationName=DBeaver 23.3.0 - SQLEditor <Script-2.sql> / select source_organization_id key, count(event_iid) AS value from watm.hit_event where day between 20231219 and 20231226 and source_organization_id is not null and source_organization_id != ‘’ group by source_organization_id order by value desc limit 300 |Digest=|PlanCpuCost=4386570.600838726|PlanMemCost=80.07431250765617|CandidateMVs=mv_async_log_report,file_flow_view,file_flow_view
2023-12-26 16:18:48,925 [query] |Client=10.100.14.61:26491|User=root|AuthorizedUser=‘root’@’%’|ResourceGroup=default_wg|Catalog=default_catalog|Db=watm|State=ERR|ErrorCode=THRIFT_RPC_ERROR|Time=1336|ScanBytes=0|ScanRows=0|ReturnRows=0|StmtId=334|QueryId=648d8661-a3c7-11ee-9265-56ddc9534bce|IsQuery=true|feIp=starrockscluster-fe-1.starrockscluster-fe-search.default.svc.cluster.local|Stmt=/ ApplicationName=DBeaver 23.3.0 - SQLEditor <Script-2.sql> */ select source_organization_id key, count(event_iid) AS value from watm.hit_event where day between 20231219 and 20231226 and source_organization_id is not null and source_organization_id != ‘’ group by source_organization_id order by value desc limit 300 |Digest=|PlanCpuCost=4386570.600838726|PlanMemCost=80.07431250765617|CandidateMVs=mv_async_log_report,file_flow_view,file_flow_view