-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[enhancement](exception) pageio method should return error when allocate memory failed #40020
Conversation
…ate memory failed
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
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.
clang-tidy made some suggestions
RETURN_IF_CATCH_EXCEPTION({return read_and_decompress_page_(opts, handle, body, footer)}); | ||
} | ||
|
||
Status PageIO::read_and_decompress_page_(const PageReadOptions& opts, PageHandle* handle, |
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.
warning: function 'read_and_decompress_page_' exceeds recommended size/complexity thresholds [readability-function-size]
Status PageIO::read_and_decompress_page_(const PageReadOptions& opts, PageHandle* handle,
^
Additional context
be/src/olap/rowset/segment_v2/page_io.cpp:118: 115 lines including whitespace and comments (threshold 80)
Status PageIO::read_and_decompress_page_(const PageReadOptions& opts, PageHandle* handle,
^
run buildall |
run buildall |
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.
clang-tidy made some suggestions
run buildall |
run buildall |
run buildall |
TPC-H: Total hot run time: 37820 ms
|
TPC-DS: Total hot run time: 194573 ms
|
ClickBench: Total hot run time: 31.87 s
|
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. |
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
…ate memory failed (apache#40020) 1. pageio method should return error when allocate memory failed just for point query. 2. variant parsing logic should return error when allocate memory failed. --------- Co-authored-by: yiguolei <[email protected]>
…ate memory failed (apache#40020) 1. pageio method should return error when allocate memory failed just for point query. 2. variant parsing logic should return error when allocate memory failed. --------- Co-authored-by: yiguolei <[email protected]>
…ate memory failed (#40020) ## Proposed changes 1. pageio method should return error when allocate memory failed just for point query. 2. variant parsing logic should return error when allocate memory failed. --------- Co-authored-by: yiguolei <[email protected]>
Proposed changes