[fix](memory) Fix BlockCompression memory tracking#33841
[fix](memory) Fix BlockCompression memory tracking#33841yiguolei merged 1 commit intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
|
PR approved by at least one committer and no changes requested. |
ec3934c to
1c68d65
Compare
|
run buildall |
| return &s_instance; | ||
| } | ||
| ~Lz4BlockCompression() { _ctx_pool.clear(); } | ||
| ~Lz4BlockCompression() { |
There was a problem hiding this comment.
warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
| ~Lz4BlockCompression() { | |
| ~Lz4BlockCompression() override { |
| return &s_instance; | ||
| } | ||
| ~Lz4HCBlockCompression() { _ctx_pool.clear(); } | ||
| ~Lz4HCBlockCompression() { |
There was a problem hiding this comment.
warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
| ~Lz4HCBlockCompression() { | |
| ~Lz4HCBlockCompression() override { |
TPC-H: Total hot run time: 38963 ms |
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 183732 ms |
ClickBench: Total hot run time: 29.91 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
PR approved by at least one committer and no changes requested. |
Proposed changes
BlockCompression memory may be shared between multiple queries.
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...