-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: tpcc 5000 warehouse test ConsistencyCheck sql reported Invalid alloc size 1147486208 #17841
Closed
1 task done
Labels
area/spill
kind/bug
Something isn't working
phase/testing
severity/s1
High impact: Logical errors or data errors that must occur
Milestone
Comments
heni02
added
kind/bug
Something isn't working
severity/s1
High impact: Logical errors or data errors that must occur
labels
Aug 1, 2024
related #17640 |
经和明松沟通,目前正在处理,计划2.0.1解决 |
https://github.com/m-schen/matrixone/tree/split-agg-result 由该分支进行处理,预计今天应该可以提pr. |
This was referenced Dec 6, 2024
fengttt
added a commit
that referenced
this issue
Dec 15, 2024
…roups. (#20697) ## What type of PR is this? - [ ] API-change - [x] BUG - [x] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: https://github.com/matrixorigin/MO-Cloud/issues/4084 https://github.com/matrixorigin/MO-Cloud/issues/3831 #17841 Maybe Fix: #14675 ## What this PR does / why we need it: 1. Group / MergeGroup算子支持分块保存/发送结果,避免单块内存过大的问题。 实现方案: 每个类型均有对应的行数上限,确保一个block的内存不超过1Gb。 以 `select col1, agg(col2) group by col1;`为例, col1对应的分块行数为m1, agg(col2)对应的分块行数为m2, 取min(m1, m2)作为单个block的行数上限,agg result和group by均采用这个数值。 需要注意的是:bytes类型的行数上限目前取的是 32768, 这个数字是根据varchar的单行上限不超过16kb来的。对于其他类型,例如blob和text,依旧可能发生单块内存过大的问题。 2. 简化Agg的代码。 3. 由于window算子不支持分批发送的逻辑,添加对应报错信息避免结果出错。 这部分逻辑需要后续由窗口开发人员进行完善。 --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: fengttt <[email protected]>
回归测试持续观察中 |
持续观察2周,没有再出现该问题,closed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/spill
kind/bug
Something isn't working
phase/testing
severity/s1
High impact: Logical errors or data errors that must occur
Is there an existing issue for the same bug?
Branch Name
main
Commit ID
30cf41f
Other Environment Information
Actual Behavior
job:https://github.com/matrixorigin/mo-nightly-regression/actions/runs/10191452841/job/28193123763
mo log:
https://grafana.ci.matrixorigin.cn/explore?panes=%7B%22LRm%22:%7B%22datasource%22:%22loki%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bnamespace%3D%5C%22mo-ben-nightly-30cf41f3a-20240801%5C%22%7D%20%7C%3D%20%60Invalid%20alloc%20size%201147486208%60%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22loki%22%7D,%22editorMode%22:%22builder%22%7D%5D,%22range%22:%7B%22from%22:%221722461842686%22,%22to%22:%221722505042686%22%7D%7D%7D&schemaVersion=1&orgId=1
tke 3cn configure:
https://github.com/matrixorigin/mo-nightly-regression/blob/main/mo-bench-tke.yaml
Expected Behavior
No response
Steps to Reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: