doris-debug
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.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 50
- Forks
- 15
01 前言 Front Matter
- name
- doris-debug
- version
- 0.3.0
- description
- 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.
02 资源文件 7
- 参考文档shared/guides/cascade-import-wal-versions.md431 B
- 参考文档shared/guides/cascade-query-timeout-exchange.md442 B
- 参考文档shared/references/01-common-commands.md603 B
- 参考文档shared/references/02-source-map.md3.0 KB
- 参考文档shared/references/03-cir-case-index.md25.6 KB
- 参考文档shared/references/04-metrics-guide.md6.5 KB
- 参考文档shared/references/05-config-quick-ref.md6.9 KB
03 SKILL.md 正文
Doris Debug Router
How to use
- Identify the symptom domain from the table below.
- Read
shared/references/01-common-commands.mdfor diagnostic SQL and API commands. - Read
shared/references/02-source-map.mdto map symptoms to Apache Doris source code locations. - Open the target skill (
<domain>/SKILL.md) and follow its cause table and decision tree. - Check
shared/references/03-case-index.mdfor matching production case patterns.
Skill routing
| Symptom | Skill |
|---|---|
| Slow / timeout / hanging query, Profile analysis, Exchange WaitForData | query/SKILL.md |
| Stream Load / Broker Load / Routine Load failure, Group Commit WAL pile-up | import/SKILL.md |
| -235 / too many versions, compaction score high, compaction lag | compaction/SKILL.md |
| BE/FE OOM, crash, false Alive, memory leak | node/SKILL.md |
| Sync MV miss, async MTMV refresh/rewrite issues | materialized-view/SKILL.md |
| Tablet replica missing, clone backlog, disk skew, tablet repair | tablet/SKILL.md |
| FE/BE startup failure, port conflict, priority_networks misconfig | deployment/SKILL.md |
| Hive/Iceberg/Paimon/Glue catalog query failure, metadata refresh, S3/HDFS connectivity | data-lake/SKILL.md |
| Workload Group queue starvation, CPU/memory isolation leaks, spill issues | resource-isolation/SKILL.md |
| Storage-compute separation, meta-service latency, file cache, warmup | cloud/SKILL.md |
Shared references
| Document | Content |
|---|---|
shared/references/01-common-commands.md |
Diagnostic SQL, HTTP API, and CLI commands |
shared/references/02-source-map.md |
Symptom → Doris source code mapping (with version annotations) |
shared/references/03-case-index.md |
45 production case summaries across 8 domains |
shared/references/04-metrics-guide.md |
Per-domain key metrics with thresholds |
shared/references/05-config-quick-ref.md |
Per-domain key configuration parameters with tuning guidance |
shared/guides/ |
Cross-module cascade troubleshooting |
Companion skills
doris-profile-reader: Deep Profile analysis for query bottlenecks (referenced byquery/SKILL.mdCause C — BE compute bottleneck).doris-best-practices: Preventive table design and configuration guidance.doris-architecture-advisor: Workload-aware architecture decisions.
Methodology
- Client → FE → BE → Disk/Network top-down investigation
- Logs / Metrics / Profile /
SHOW PROCevidence first - Stop the bleeding (throttle, kill,
reset_rpc_channel) before root cause - Verify hypotheses against Doris source code (
02-source-map.md) - Match known case patterns (
03-case-index.md) to avoid rediscovery
04 同仓库更多 Skills
doris-pr-description
Write, rewrite, or check the title and description of an Apache Doris pull request against the Doris PR standard. Takes the facts from the handoff file that development left when there is one, and collects them from the diff, commits, linked issue, and existing tests otherwise; classifies the PR type, fills that type's required fields, drafts the issue a Feature needs, validates the draft with a bundled checker, and creates or updates the PR on GitHub only after the user confirms. Use whenever the user wants to open, create, submit, or update a Doris PR; write, fix, or improve a PR title or description; prepare a branch for review; rewrite an existing PR's description for comparison; or check whether a description meets the standard. Also use for short requests in any language, such as "open a PR", "write the PR description", or "is this PR description good enough?", even when the standard is not mentioned.
develop-with-evidence
暂无简介
Doris PR 代码审查
doris-repo-review
从本地 clone 审查 Apache Doris PR,使用与 CI Code Review Runner 相同的多智能体、共享账本收敛工作流。当用户提供一个 PR 给 `/doris-repo-review`、要求在本地审查 Doris PR,或要求 CI 风格的审查流程时使用。安全地仅将当前 worktree 对齐到确切的 PR head,拒绝干扰已跟踪的本地更改,编写对等的英文和中文审查文档并附带经过验证的路径行锚点,绝不构建、测试或编辑源码。只有在明确选择合格审查者并使用受支持的 effort(xhigh 或 max,Codex 另支持 ultra)时,才将审查视为等同流水线;Codex 上优先 GPT-6 Astra,Claude Code 上优先 Fable 5.1。在收敛出 APPROVE 结果后,自动发布一条绑定到被审查 commit 的机器可读 PASS 评论。
Doris 查询 Profile 性能分析
doris-profile-reader
解读 Apache Doris 查询运行时 profile,尤其包括 profile 瓶颈分诊、误导性等待计数器、每算子指标优先级、扫描、join 顺序/运行时过滤分析,以及基于证据的性能解释。当给定 Doris profile、query id、profile URL/文本,或要求解释 Doris 查询性能时使用。
Doris Tablet 故障诊断
doris-debug-tablet
用于 Doris tablet/副本健康、版本倾斜、克隆积压、磁盘均衡以及 tablet 修复。命令:SHOW PROC tablet_health、SHOW TABLET、ADMIN REPAIR。
Doris 资源隔离调试
doris-debug-resource-isolation
用于 Doris Workload Group / 资源标签队列饥饿、CPU/内存隔离泄漏以及工作负载策略调试。命令:SHOW WORKLOAD GROUPS、EXPLAIN resource。