1---2name: doris-debug3description: Apache Doris production diagnostics router. Use when Apache Doris queries are slow, imports are failing or timing out, compaction is raising -235 errors, nodes are OOM or crashing, materialized views are not rewriting, or tablet/replica health is degraded. Routes to the appropriate doris-debug-* skill. Covers shared-nothing and cloud (storage-compute separation) deployments.4---56# Doris Debug Router78## How to use9101. Identify the symptom domain from the table below.112. Read `shared/references/01-common-commands.md` for diagnostic SQL and API commands.123. Read `shared/references/02-source-map.md` to map symptoms to Apache Doris source code locations.134. Open the target skill (`<domain>/SKILL.md`) and follow its cause table and decision tree.145. Check `shared/references/03-case-index.md` for matching production case patterns.1516## Skill routing1718| Symptom | Skill |19|---------|-------|20| Slow / timeout / hanging query, Profile analysis, Exchange WaitForData | `query/SKILL.md` |21| Stream Load / Broker Load / Routine Load failure, Group Commit WAL pile-up | `import/SKILL.md` |22| -235 / too many versions, compaction score high, compaction lag | `compaction/SKILL.md` |23| BE/FE OOM, crash, false Alive, memory leak | `node/SKILL.md` |24| Sync MV miss, async MTMV refresh/rewrite issues | `materialized-view/SKILL.md` |25| Tablet replica missing, clone backlog, disk skew, tablet repair | `tablet/SKILL.md` |26| FE/BE startup failure, port conflict, priority_networks misconfig | `deployment/SKILL.md` |27| Hive/Iceberg/Paimon/Glue catalog query failure, metadata refresh, S3/HDFS connectivity | `data-lake/SKILL.md` |28| Workload Group queue starvation, CPU/memory isolation leaks, spill issues | `resource-isolation/SKILL.md` |29| Storage-compute separation, meta-service latency, file cache, warmup | `cloud/SKILL.md` |3031## Shared references3233| Document | Content |34|----------|---------|35| `shared/references/01-common-commands.md` | Diagnostic SQL, HTTP API, and CLI commands |36| `shared/references/02-source-map.md` | Symptom → Doris source code mapping (with version annotations) |37| `shared/references/03-case-index.md` | 45 production case summaries across 8 domains |38| `shared/references/04-metrics-guide.md` | Per-domain key metrics with thresholds |39| `shared/references/05-config-quick-ref.md` | Per-domain key configuration parameters with tuning guidance |40| `shared/guides/` | Cross-module cascade troubleshooting |4142## Companion skills4344- `doris-profile-reader`: Deep Profile analysis for query bottlenecks (referenced by `query/SKILL.md` Cause C — BE compute bottleneck).45- `doris-best-practices`: Preventive table design and configuration guidance.46- `doris-architecture-advisor`: Workload-aware architecture decisions.4748## Methodology49501. Client → FE → BE → Disk/Network top-down investigation512. Logs / Metrics / Profile / `SHOW PROC` evidence first523. Stop the bleeding (throttle, kill, `reset_rpc_channel`) before root cause534. Verify hypotheses against Doris source code (`02-source-map.md`)545. Match known case patterns (`03-case-index.md`) to avoid rediscovery