You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: [dev regression] 'internal error: remote receiver 019abb1e-c393-7c0b-ae17-5b4216cb9af4(MsgId=1) is already done, data loss may occur #23153
sql: SELECT t1.caculate_h, t1.change_rate, t1.change, t1.deep, t1.pro_survey_point_id, t2.nameAS surveyPointName FROMsctc-ls.pro_survey_data t1 LEFT JOIN sctc-ls.pro_survey_point t2 ON t1.pro_survey_point_id = t2.id WHERE t1.del_flag = '0' AND ( t1.pro_survey_point_id, t1.number ) IN (SELECT pd.pro_survey_point_id, max( pd.number ) FROMsctc-ls.pro_survey_data pd LEFT JOIN sctc-ls.pro_survey_point pp ON pp.id = pd.pro_survey_point_id LEFT JOIN sctc-ls.pro_monitor_item_warning pw ON pw.id = pp.data_warning_id WHERE pp.del_flag = '0' AND pd.del_flag = '0' AND pd.audit_state = 2 AND pw.id = 14435 AND pd.survey_time < '2022-07-21 12:00:00' GROUP BY pd.pro_survey_point_id );
Activity
LeftHandCold commentedon Nov 26, 2025
问题根本原因
这是一个逻辑错误:
StopSending消息被错误地用来取消 dispatch receiver。执行流程
主查询发送子查询到远程节点
RecordDispatchPipeline注册子查询执行完成
sender.close()被调用close()发送Method_StopSending消息到远程节点StopSending 消息处理
StopSending消息,调用CancelPipelineSendingCancelPipelineSending调用了cancelPipeline(),对于 dispatch receiver 设置了ReceiverDone=true发送数据时报错
ReceiverDone=true,在 strict 模式下返回错误关键问题
StopSending消息的用途:StopSending消息是用来停止发送数据的错误的逻辑:
CancelPipelineSending对 dispatch receiver 调用了cancelPipeline()cancelPipeline()设置了receiver.ReceiverDone = trueXuPeng-SH commentedon Nov 28, 2025
please help to verify with the latest dev @Ariznawlll
Ariznawlll commentedon Dec 2, 2025
测试通过
fix(pipeline): abort batch flow on stop sending (#26787)
fix(pipeline): abort batch flow on stop sending (matrixorigin#26787)
fix(pipeline): abort batch flow on stop sending (matrixorigin#26787)
fix(pipeline): abort batch flow on stop sending (matrixorigin#26787)