Skip to content

[Bug] TPCH Q9: internal error: allocation account invariant failure (129 单机) #26663

Closed

Description

@Ariznawlll

环境

Field Value
环境 129 单机 (main)
Commit bb011f2
Run https://github.com/matrixorigin/mo-auto-test/actions/runs/30837542328
Job TPCH BENCHMARK TEST (91784725014)

问题

TPCH Q9 在 TPCH_100 和 TPCH_1000 两个规模上都失败,错误:

ERROR 20101 (HY000): internal error: allocation account invariant failure

TPCH_100 Q9 — 5 次全部失败

轮次 耗时 结果
1 80s ❌ allocation account invariant failure
2 93s ❌ 同上
3 140s ❌ 同上
4 145s ❌ 同上
5 136s ❌ 同上

TPCH_1000 Q9 — 2 次失败

轮次 耗时 结果
1 227s ❌ allocation account invariant failure
2 217s ❌ 同上

其他查询

q1q8、q10q22 全部正常通过。仅 Q9 失败。

错误分析

allocation account invariant failure 是内存分配记账的内部一致性校验失败。说明 MO 在执行 Q9(多表 JOIN + 聚合)时,内存分配/释放的计数出现了不一致——分配了但没正确释放,或者释放了不存在的分配。

这和之前的 "hash build memory budget exceeded"(#26593)是不同的错误。那个是内存用量超限,这个是内存记账逻辑 bug。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s-1

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions