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
[03:11:15] CN gpxj4 frontend/mysql_protocol.go:3874
cannot get salt, maybe not use proxy
err=read tcp 10.143.169.208:6001->10.143.169.205:50204: i/o timeout
CN 尝试从 Proxy (10.143.169.205) 读取 salt 时 i/o timeout。Proxy 没有在规定时间内返回认证数据。
证据 2:Proxy 每 5 秒收到连接并立即丢失
[03:11:25] INFO new connection comes
[03:11:25] ERROR close connection failed: use of closed network connection
[03:11:30] INFO new connection comes
[03:11:30] ERROR close connection failed: use of closed network connection
... (每 5 秒重复,持续 12 小时)
证据 3:Proxy Handshake 被 client reset
[03:14:25] ERROR failed to handle Handshake response
err=writeto tcp4: read: connection reset by peer
Activity
[-][Bug] PITR Backup Restore Test 连续 10+ 天失败:checkpoint dump restore 挂起 12 小时无输出[/-][+][Bug] PITR Backup Restore Test checkpoint dump restore 挂起 12 小时无输出[/+]Ariznawlll commentedon Jul 31, 2026
深入排查:根因是 Proxy → CN 认证 i/o timeout,mysql 客户端无限重试
证据 1:CN 报
i/o timeout(关键)CN 尝试从 Proxy (
10.143.169.205) 读取 salt 时 i/o timeout。Proxy 没有在规定时间内返回认证数据。证据 2:Proxy 每 5 秒收到连接并立即丢失
证据 3:Proxy Handshake 被 client reset
证据 4:所有成功连接都是内部连接
成功连接到 CN 的连接全部是
account sys:mo_logger(MO 内部监控),restore 客户端 (ckps3pitr:test_account) 从未成功连接。证据 5:CN 零查询执行
03:10 ~ 14:54(12 小时)三个 CN 上 Exec.Run 日志为零,没有任何 SQL 被执行。
证据 6:内存趋势佐证
CN 内存增长是内部后台任务,不是 restore 数据处理。DN 稳定说明没有数据写入。
完整故障链
可能原因
ckps3pitr:test_account刚刚通过CREATE ACCOUNT创建,Proxy 可能还没同步到该账户的认证信息建议
create account和mysql_file之间加sleep或轮询验证连接可用--connect-timeout— 避免无限重试,让脚本能快速失败XuPeng-SH commentedon Jul 31, 2026
补充并更正前一条诊断:重新查询真实 CI Loki,并逐个核对归档的原始 goroutine snapshot 后,现场证据可以直接确认 restore 已认证、SQL 已执行,并且命中了 PR #26533 修复的 distributed-delete RemoteRun fallback。
03:10:10.363181 UTC,目标 restore 连接已完成 Authenticate 并收到 OK;目标 session 没有cannot get salt。此前引用的 salt timeout 属于其他连接,而且同类 timeout 在 restore 开始前已经出现。03:10:10.567937,planner 开始处理脱敏后的LOAD DATA URL (...) ... PARALLEL=true。03:10:10.590517–.601298,statement019fb626-984b-7eda-bb4f-aac9e7d65773、tracec8489d33-8079-91e3-8f0b-56321c81ac0d产生 128 条 RemoteRun fallback 日志:64 个唯一 pipeline 各出现两次,原因明确为 dispatch 引用了当前 remote tree 之外的 local pipeline。03:13:18原始 coordinator snapshot 中,目标 frontend goroutine 已在executeStatusStmt -> Compile.Run -> runOnce内;同一 compile execution 有 2 个MergeDelete.Call、96 个Deletion.remoteDelete,且 remote-delete 栈全部经过Scope.RemoteRun -> Scope.MergeRun。Loki 中 64 个 fallback pipeline 指针与这些原始栈逐一匹配。GetProcByUuidwait。14:50snapshot 的数量和栈完全不变,已持续约 700 分钟。此前“
Exec.Run日志为零,所以没有 SQL 执行”的推断不成立:status_stmt.go先调用runner.Run(0),只有该调用返回后才输出time of Exec.Run;本次调用正卡在上述执行栈中,因此该日志为零是预期结果。SQL 文本没有字面DELETE也不能排除物理Node_DELETE,真实运行栈已经直接显示MergeDelete/Deletion.remoteDelete。结论:认证问题不是这次 11h44m restore hang 的阻塞点;根因是 distributed delete scope 的执行位置被静默改到 coordinator 后,跨 CN dispatch UUID 的发布者与
FromAddr不一致,receiver 永久等待。修复见 #26533。fix(compile): prevent distributed delete dispatch hang (#26533)
XuPeng-SH commentedon Aug 2, 2026
should be fixed
Ariznawlll commentedon Aug 3, 2026
已修复
https://github.com/matrixorigin/mo-nightly-regression/actions/runs/30716693767