You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge?
Implement an ExpireSnapshotsAction with similar configuration options and outputs to the Spark expire snapshots procedure. Part of #1453.
Describe the solution you'd like
An expire snapshots action that takes the following inputs:
older_than_ms: A timestamp in milliseconds, specifying the retention window for snapshots
retain_last: Minimum number of snapshots to retain
max_concurrent_deletes: Maximum number of concurrent file deletions
snapshot_ids: A specific list of snapshot IDs to expire
dry_run: A flag allowing a preview of snapshot expiry
It is important that this action both write a new metadata version with snapshots expired, and followup and delete any now-unreferenced files. This will keep both the latest metadata and the metadata directory clean.
Activity
feat(transaction): add ExpireSnapshotsAction
feat(transaction): add ExpireSnapshotsAction
feat(maintenance): detect files unreferenced after expiring snapshots
feat(maintenance): add ExpireSnapshots operation
feat(maintenance): clean up statistics files of expired snapshots
feat(transaction): add ExpireSnapshotsAction
feat(transaction): add ExpireSnapshotsAction
feat(transaction): add ExpireSnapshotsAction
feat(transaction): add ExpireSnapshotsAction (#2591)