-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Fix](TPartitionVersionInfo) Fix duplicate TPartitionVersionInfo in PublishVersionTask.partitionVersionInfos
#44846
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](TPartitionVersionInfo) Fix duplicate TPartitionVersionInfo in PublishVersionTask.partitionVersionInfos
#44846
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
484a95e to
ab46481
Compare
|
run buildall |
zhannngchen
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. |
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
… `PublishVersionTask.partitionVersionInfos` (#44846) ### What problem does this PR solve? Problem Summary: When FE handles BEs' tablet report and finds that there exists some expired txns on BE, it will generate publish version task. `TPartitionVersionInfo` with same values may be added to `transactionsToPublish` under same txn id many times when partitions involved in this failed txn involves many tablets on this BE. Because it uses `ArrayListMultimap`, these duplicate values may occupy a lot of memories when the number of tablets is large. ### Release note Fixed the issue of FE's memory occupation growing too fast in cases of persistent load and clone failures on merge-on-write tables. 修复了在merge-on-write表上有持续的导入失败和clone失败的情况下,FE使用内存增长过快的问题。
…ublishVersionTask.partitionVersionInfos apache#44846 pick apache#44846
What problem does this PR solve?
Problem Summary: When FE handles BEs' tablet report and finds that there exists some expired txns on BE, it will generate publish version task.
TPartitionVersionInfowith same values may be added totransactionsToPublishunder same txn id many times when partitions involved in this failed txn involves many tablets on this BE. Because it usesArrayListMultimap, these duplicate values may occupy a lot of memories when the number of tablets is large.Release note
Fixed the issue of FE's memory occupation growing too fast in cases of persistent load and clone failures on merge-on-write tables.
修复了在merge-on-write表上有持续的导入失败和clone失败的情况下,FE使用内存增长过快的问题。
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)