Skip to content

branch-4.0: [fix](fe) modify tablet cooldownConfLock to reduce memory #59356 - #59499

Merged
yiguolei merged 1 commit into
branch-4.0from
auto-pick-59356-branch-4.0
Dec 31, 2025
Merged

branch-4.0: [fix](fe) modify tablet cooldownConfLock to reduce memory #59356#59499
yiguolei merged 1 commit into
branch-4.0from
auto-pick-59356-branch-4.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #59356

### What problem does this PR solve?
the usage of `cooldownConfLock` is simple, does not need
ReentrantReadWriteLock because it cost too much memory, especially when
a cluster has many tablets.
before:
<img width="1280" height="575" alt="1"
src="https://github.com/user-attachments/assets/df626e1e-84ef-4078-8da7-d857ac960678"
/>
after:
<img width="1280" height="510" alt="2"
src="https://github.com/user-attachments/assets/3fee7407-0743-4d07-9462-a9f0e101765f"
/>
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen

Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 100.00% (6/6) 🎉
Increment coverage report
Complete coverage report

@yiguolei
yiguolei merged commit 2078d35 into branch-4.0Dec 31, 2025
24 of 27 checks passed
@github-actions
github-actionsBot deleted the auto-pick-59356-branch-4.0 branch December 31, 2025 03:05
ybtsdst pushed a commit to ybtsdst/doris that referenced this pull request Feb 27, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@hello-stephen@yiguolei@dataroaring@mymeiyi