-
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
[fix](memtable) do not reset arena in to_block() #46988
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 32870 ms
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 195941 ms
|
ClickBench: Total hot run time: 32.29 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
superseded by #46997 |
What problem does this PR solve?
Issue Number: DORIS-18080
Related PR: #40912
Problem Summary:
Do not reset _arena in
MemTable::to_block()
, because it is still used in~MemTable()
when releasing agg placesFix the following use-after-free
Use:
Free:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)