-
Couldn't load subscription status.
- Fork 285
Snapshot support for databases and tables #22635
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 Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
Snapshot support for databases and tables Approved by: @XuPeng-SH
Snapshot support for databases and tables Approved by: @XuPeng-SH
matrixorigin#22641)" This reverts commit 7abfd01.
matrixorigin#22641)" This reverts commit 7abfd01.
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #22634
What this PR does / why we need it:
Snapshot support for databases and tables
PR Type
Enhancement, Bug fix
Description
Refactor snapshot handling to support database and table-level snapshots
Replace map-based snapshot storage with unified SnapshotInfo structure
Eliminate manual snapshot transformation and cleanup operations
Extend snapshot types to include database and table levels
Diagram Walkthrough
File Walkthrough
8 files
Unified snapshot structure supporting multiple hierarchy levelsUpdate GC checkpoint to use new SnapshotInfo typeRefactor GC job to use SnapshotInfo instead of mapUpdate GC window to accept SnapshotInfo parameterUpdate Cleaner interface snapshot return typeRemove snapshot transformation utility functionUpdate mock cleaner snapshot method signatureUpdate storage usage calculation to use SnapshotInfo1 files
Fix snapshot test to use UnixNano and new API1 files