-
Notifications
You must be signed in to change notification settings - Fork 285
delete files after merging deletions on objects. #22488
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
cdd34bb
to
30d12fa
Compare
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue ##22460
What this PR does / why we need it:
Delete files after merging deletions on objects.
PR Type
Enhancement
Description
Refactor garbage collection for transaction objects
Add file cleanup after deletion merging operations
Extract common GC logic into reusable functions
Improve error handling and logging for GC operations
Diagram Walkthrough
File Walkthrough
txn.go
Update GC calls and add deletion cleanup
pkg/vm/engine/disttae/txn.go
gcObjs
togcObjsByIdxRange
for claritygcObjsByStats
calls after deletion merging operationstypes.go
Refactor GC functions and improve error handling
pkg/vm/engine/disttae/types.go
gcFiles
functiongcObjsByStats
method for stats-based cleanupgcObjsByIdxRange
to use extractedgcFiles