-
Notifications
You must be signed in to change notification settings - Fork 285
Fix catalog gc #22169
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
Fix catalog gc #22169
Conversation
You are nearing your monthly Qodo Merge usage quota. For more information, please visit here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
You are nearing your monthly Qodo Merge usage quota. For more information, please visit here. PR Code Suggestions ✨No code suggestions found for the PR. |
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #21981
What this PR does / why we need it:
Fix catalog gc
PR Type
Bug fix
Description
Fix catalog garbage collection watermark calculation
Replace disk cleaner scan watermark with checkpoint-based approach
Correct timestamp comparison logic for GC interval
Changes diagram
Changes walkthrough 📝
cronjobs.go
Fix catalog GC watermark calculation logic
pkg/vm/engine/tae/db/cronjobs.go
scanWaterMark
from disk cleaner with checkpoint-basedwartMark
LE
toGE
GetScanWaterMark()
toMaxIncrementalCheckpoint()