-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](cloud)(bulk load) fix memory leak in FE observer node #47074
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 |
0860f7e to
cb7122f
Compare
|
run buildall |
TPC-H: Total hot run time: 32464 ms |
TPC-DS: Total hot run time: 195019 ms |
ClickBench: Total hot run time: 30.74 s |
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. |
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
cb7122f to
c6412e1
Compare
|
run buildall |
TPC-H: Total hot run time: 32500 ms |
TPC-DS: Total hot run time: 194307 ms |
ClickBench: Total hot run time: 31.35 s |
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
 The Memory of fe observer node increase over time and cannot significantly reduce after tigger full GC.  In follower node, when bulk load job replay, A key-value(jobId,-job) will be added to` CallBackFactory` to record the job but will not `removeCallback`, which cause memory leak in FE observer node.
…7074)  The Memory of fe observer node increase over time and cannot significantly reduce after tigger full GC.  In follower node, when bulk load job replay, A key-value(jobId,-job) will be added to` CallBackFactory` to record the job but will not `removeCallback`, which cause memory leak in FE observer node.
What problem does this PR solve?
Problem Summary:
The Memory of fe observer node increase over time and cannot significantly reduce after tigger full GC.
In follower node, when bulk load job replay, A key-value(jobId,-job) will be added to
CallBackFactoryto record the job but will notremoveCallback, which cause memory leak in FE observer node.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)