-
fix(sync): CH 重试补 ETIMEDOUT 等 socket 级网络错误(高并发打远程 DW 超时) · 53be5136
concurrency=5 时每批 5 表并行 → 25 个并行 CH 查询打远程阿里云 DW,公网扛不住 → read ETIMEDOUT → 整轮 fatal abort(并连锁触发 teardown 中 Prisma "Engine is not yet connected")。根因:queryJsonWithRetry 瞬时正则只匹配 "timeout",不匹配 "ETIMEDOUT"(无该子串)→ 没重试就直接抛。 补:ETIMEDOUT / ECONNREFUSED / EHOSTUNREACH / ENETUNREACH / EPIPE / "HTTP request error" / "fetch failed" 进瞬时白名单,可退避重试。 注:并发本身仍是 DW 限制 —— 实测 concurrency=3(15 并行)稳,5(25 并行)超时。 此 host 走 concurrency=3 为上限;重试只兜偶发抖动,不是提并发的许可证。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
luoqi committed
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| pac-service | Loading commit data... | |
| pac-web | Loading commit data... |