Skip to content
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

branch-2.1: [Optimize](TabletMeta) Reuse TabletSchema in TabletMeta #46572 #46687

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 9, 2025

Cherry-picked from #46572

In clusters with a large number of tablets, the sheer volume of
TabletSchema instances can consume significant memory. This change
introduces TabletSchema reuse in TabletMeta to optimize memory usage.

With large number of tablets:
56G memory consumption reduced to 4G
@hello-stephen
Copy link
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?

@dataroaring dataroaring closed this Jan 9, 2025
@dataroaring dataroaring reopened this Jan 9, 2025
@hello-stephen
Copy link
Contributor

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 36.42% (9566/26267)
Line Coverage: 27.98% (79014/282376)
Region Coverage: 26.66% (40511/151982)
Branch Coverage: 23.41% (20529/87708)
Coverage Report: http://coverage.selectdb-in.cc/coverage/da076bcff44ea8831623202d44b96ce539b3bd69_da076bcff44ea8831623202d44b96ce539b3bd69/report/index.html

@yiguolei yiguolei merged commit 5e6669f into branch-2.1 Jan 9, 2025
18 of 19 checks passed
@github-actions github-actions bot deleted the auto-pick-46572-branch-2.1 branch January 9, 2025 14:20
Sign up for free to 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.

5 participants