-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[enhancement](memoryfailed) throw exception instead of log fatal during memory allocate failed #49876
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
Conversation
…ng memory allocate failed
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
mrhhsg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
run buildall |
TPC-H: Total hot run time: 34204 ms |
TPC-DS: Total hot run time: 192377 ms |
ClickBench: Total hot run time: 30.7 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
| // If memory allocate failed during deserialize, st is not ok, throw exception here to | ||
| // stop the query. | ||
| if (!st.ok()) { | ||
| throw doris::Exception(ErrorCode::INTERNAL_ERROR, st.to_string()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have more proper ErrorCode MemoryLimitExceeded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throw doris::Exception(st.code(), st.to_string());
HappenLee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
PR approved by at least one committer and no changes requested. |
HappenLee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
run buildall |
TPC-H: Total hot run time: 34229 ms |
TPC-DS: Total hot run time: 186589 ms |
ClickBench: Total hot run time: 31.15 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
…ng memory allocate failed (#49876)
…ng memory allocate failed (#49876)
…ng memory allocate failed (apache#49876)
…ng memory allocate failed (apache#49876)
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)