Repository navigation
Closed
Labels
kind/bugSomething isn't workingseverity/s0Active / top priority for current sprint. Owner has committed to working on it now.
Milestone
Description
Summary
External hive partition JOIN queries fail with dispatch process not registered within 30s, remote CN may have failed. Root cause is objectio/cache.go:354 reporting dedup load did not complete on all 3 CNs during heavy concurrent S3 reads from external hive partition tables.
Environment
- MO Commit: a0de030
- Cluster: TKE, 3 CNs + 1 DN
- CN memory limit: 55 GiB,
cn_gomemlimit: 25000 MiB - Namespace:
mo-big-data-commit-a0de030-suite-1y - Workflow Run: https://github.com/matrixorigin/mo-nightly-regression/actions/runs/28133872754
- Failed Job: https://github.com/matrixorigin/mo-nightly-regression/actions/runs/28133872754/job/83335832278
Not OOM
- No
OOMKilledevents in kube-state-metrics - No pod restarts
- CN peak memory:
tp-cn-kgz9c32.17 GiB,tp-cn-4qbqk26.18 GiB,tp-cn-9hjn825.32 GiB (limit 55 GiB)
Failed Queries
Both are JOINs on external_hive_partition_2000_large (external hive partition table with 2000 partitions, 50000 rows/partition):
-- Query 1: fact JOIN dim (failed at 02:18:49 UTC)
select d.part_name, count(*) as rowcount
from external_hive_partition_2000_large.fact_hive_2000 f
join external_hive_partition_2000_large.dim_part_2000 d
on f.part_id = d.part_id
where d.part_id in (1, 7, 2000)
group by d.part_name order by d.part_name
-- Query 2: fact self-JOIN (failed at 02:20:20 UTC)
select a.part_id, count(*) as rowcount
from external_hive_partition_2000_large.fact_hive_2000 a
join external_hive_partition_2000_large.fact_hive_2000 b
on a.part_id = b.part_id and a.col_uuid = b.col_uuid
where a.part_id in (1, 7)
group by a.part_id order by a.part_idLoki Evidence
dedup load did not complete on all 3 CNs
tp-cn-4qbqk 02:20:55 objectio/cache.go:354 error: internal error: dedup load did not complete
tp-cn-4qbqk 02:20:36 objectio/cache.go:354 error: internal error: dedup load did not complete
tp-cn-4qbqk 02:20:20 objectio/cache.go:354 error: internal error: dedup load did not complete
tp-cn-4qbqk 02:20:00 objectio/cache.go:354 error: internal error: dedup load did not complete
tp-cn-9hjn8 02:20:38 objectio/cache.go:354 error: internal error: dedup load did not complete
tp-cn-9hjn8 02:20:08 objectio/cache.go:354 error: internal error: dedup load did not complete
tp-cn-9hjn8 02:20:00 objectio/cache.go:354 error: internal error: dedup load did not complete
tp-cn-kgz9c 02:21:55 objectio/cache.go:354 error: internal error: dedup load did not complete (×6)
dispatch timeout on all 3 CNs
tp-cn-4qbqk 02:20:20 compile/scope.go:810 send notify message failed : dispatch process not registered within 30s
tp-cn-4qbqk 02:19:49 compile/scope.go:810 send notify message failed : dispatch process not registered within 30s
tp-cn-9hjn8 02:20:20 compile/remoterunServer.go:545 dispatch process not registered within 30s
tp-cn-kgz9c 02:19:49 compile/remoterunServer.go:545 dispatch process not registered within 30s
GC pressure
tp-cn-kgz9c ~02:19 GC forced
Timeline
| Time (UTC) | Event |
|---|---|
| 02:15:46 | EXISTS subquery starts |
| 02:17:18 | EXISTS subquery finishes (91s) |
| 02:17:18 | JOIN query 1 starts |
| 02:18:00 | dedup load did not complete starts on all CNs |
| 02:18:49 | Query 1 fails: dispatch timeout |
| 02:18:49 | Self-JOIN query 2 starts |
| ~02:19:00 | tp-cn-kgz9c: GC forced |
| 02:20:20 | Query 2 fails: dispatch timeout |
Causal Chain
- JOIN queries on external hive partition tables trigger heavy concurrent S3 reads across all 3 CNs
- Object cache
dedup loadfails to complete (objectio/cache.go:354) on all CNs - CNs become slow to respond to inter-CN RPC dispatch requests
tp-cn-kgz9chitsGC forced, further delaying response- Dispatch registration exceeds 30s timeout → queries fail
Expected Behavior
Object cache dedup load should complete successfully under concurrent S3 read pressure, or degrade gracefully (retry/backoff) rather than causing cascading dispatch timeouts.
Steps to Reproduce
- Deploy MO with 3 CNs on TKE (55 GiB memory limit each)
- Create external hive partition table with 2000 partitions, ~50K rows/partition
- Run JOIN queries that scan multiple partitions across CNs
- Observe
dedup load did not completeerrors followed by dispatch timeouts
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingseverity/s0Active / top priority for current sprint. Owner has committed to working on it now.
Activity
[-]objectio/cache: 'dedup load did not complete' causes dispatch timeout on external hive partition JOIN queries[/-][+][Bug] objectio/cache: 'dedup load did not complete' causes dispatch timeout on external hive partition JOIN queries[/+]Ariznawlll commentedon Jun 25, 2026
CN Logs (02:17 - 02:22 UTC)
Namespace:
mo-big-data-commit-a0de030-suite-1yQuery window: Loki,
2026-06-25 02:17:00 - 02:22:00 UTC, limit=2001.
dedup load did not complete(objectio/cache.go:354) — all 3 CNstp-cn-4qbqk (36 lines)
tp-cn-9hjn8 (16 lines)
tp-cn-kgz9c (10 lines)
2.
dispatch process not registered within 30s— all 3 CNstp-cn-kgz9c
tp-cn-4qbqk
tp-cn-9hjn8
3.
GC forced— tp-cn-kgz9c4.
cannot get salt/ i/o timeout — all 3 CNstp-cn-kgz9c
tp-cn-9hjn8
tp-cn-4qbqk
5. CN-to-CN
close connection failed(use of closed network connection)6.
PutIdleConn/CloseIdleConnections— all 3 CNsSummary
dedup load did not complete: started at 02:17:08 ontp-cn-kgz9c, spread to all 3 CNs by 02:17:53, continued until 02:21:55dispatch not registered within 30s: first at 02:17:48, repeated every ~30s until 02:20:20GC forced:tp-cn-kgz9caround 02:17cannot get salt/ i/o timeout: started ~02:20:44 on all CNsclose connection failed: CN-to-CN (port 6002) connections broken from ~02:20:53Ariznawlll commentedon Jun 25, 2026
#25129 跟踪