Skip to content

Cleanup metadata with batch size and interval #7176

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Aug 20, 2025

Why are the changes needed?

Cleanup metadata with batch size and interval to prevent hold the lock for long time if the metadata size is huge.

How was this patch tested?

GA.

Was this patch authored or co-authored using generative AI tooling?

No.

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (f7e10e6) to head (37e82cc).

Files with missing lines Patch % Lines
...pache/kyuubi/server/metadata/MetadataManager.scala 0.00% 19 Missing ⚠️
...in/scala/org/apache/kyuubi/config/KyuubiConf.scala 0.00% 9 Missing ⚠️
...yuubi/server/metadata/jdbc/JDBCMetadataStore.scala 0.00% 9 Missing ⚠️
.../apache/kyuubi/server/metadata/MetadataStore.scala 0.00% 2 Missing ⚠️
...ubi/server/metadata/jdbc/JdbcDatabaseDialect.scala 0.00% 2 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##           master   #7176   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         701     701           
  Lines       43565   43601   +36     
  Branches     5911    5917    +6     
======================================
- Misses      43565   43601   +36     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants