[BugFix] fix mem leak when caching mv plan context (backport #72300)#72389
Merged
Conversation
Signed-off-by: kaijian.ding <kaijian.ding@gmail.com> (cherry picked from commit 33ccc4a) # Conflicts: # fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTextBasedRewriteTest.java
Contributor
Author
|
Cherry-pick of 33ccc4a has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Contributor
Author
|
@mergify[bot]: Backport conflict, please reslove the conflict and resubmit the pr |
Contributor
|
@copilot fix the backport conflict in single commit, don't edit pull request description. |
Contributor
Fixed in single amended commit |
Copilot stopped work on behalf of
kevincai due to an error
May 8, 2026 15:37
Copilot stopped work on behalf of
kevincai due to an error
May 8, 2026 15:51
Signed-off-by: Kevin Cai <kevin.cai@celerdata.com>
kevincai
approved these changes
May 9, 2026
Contributor
|
@mergify backport branch-3.5-cc |
Contributor
Author
✅ Backports have been createdDetails
|
Merged
19 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I'm doing:
There are lots of
LakeTabletobject on FOLLOWER after frequently drop&create same materialized view.And objects can't be releazed after fe transfers to LEADER.
What I'm doing:
Removed dropped materialized view object from pending cache and double check materialized view still exists before be added to context cache.
Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
Checklist:
Bugfix cherry-pick branch check:
This is an automatic backport of pull request #72300 done by [Mergify](https://mergify.com).