-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](load) add lock for runtime_state->tablet_commit_infos #48709
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
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
|
run buildall |
dataroaring
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. |
TPC-H: Total hot run time: 32866 ms |
TPC-DS: Total hot run time: 191925 ms |
ClickBench: Total hot run time: 31.47 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
liaoxin01
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
…mmit meta-info to fe. (#49842) ### What problem does this PR solve? Related PR: #48709 Problem Summary: Refer to the changes in #48709. In hive/iceberg writer, the information related to `partiton_update_info` and `iceberg_commit_data` will be submitted to FE for processing. However, there will be multiple threads accessing the related vectors, so thread-safe processing is required.
…mmit meta-info to fe. (#49842) ### What problem does this PR solve? Related PR: #48709 Problem Summary: Refer to the changes in #48709. In hive/iceberg writer, the information related to `partiton_update_info` and `iceberg_commit_data` will be submitted to FE for processing. However, there will be multiple threads accessing the related vectors, so thread-safe processing is required.
…mmit meta-info to fe. (apache#49842) Related PR: apache#48709 Problem Summary: Refer to the changes in apache#48709. In hive/iceberg writer, the information related to `partiton_update_info` and `iceberg_commit_data` will be submitted to FE for processing. However, there will be multiple threads accessing the related vectors, so thread-safe processing is required.
…8709) Lock before read/write tablet_commit_infos vector, to fix use-after-free.
…mmit meta-info to fe. (apache#49842) ### What problem does this PR solve? Related PR: apache#48709 Problem Summary: Refer to the changes in apache#48709. In hive/iceberg writer, the information related to `partiton_update_info` and `iceberg_commit_data` will be submitted to FE for processing. However, there will be multiple threads accessing the related vectors, so thread-safe processing is required.
…pache#48709) …" This reverts commit 7ca00c1.
What problem does this PR solve?
Issue Number: CIR-14718
Problem Summary:
Lock before read/write tablet_commit_infos vector, to fix use-after-free.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)