You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "drbothen (via GitHub)" <gi...@apache.org> on 2026/02/15 18:36:12 UTC
[I] Add ExpireSnapshotsAction for snapshot lifecycle management [iceberg-rust]
drbothen opened a new issue, #2145:
URL: https://github.com/apache/iceberg-rust/issues/2145
### Is your feature request related to a problem or challenge?
There is currently no way to remove old snapshots from table metadata via the transaction API. Over time, tables accumulate snapshots which increases metadata size and makes operations slower. Issue #1454 was filed for this but closed without an implementation landing.
### Describe the solution you'd like
Add an `ExpireSnapshotsAction` that:
1. Removes specified snapshots from table metadata (by ID or by age cutoff)
2. Respects a minimum retention count (always keeps at least N most recent snapshots)
3. Never expires the current snapshot
4. Returns `RemoveSnapshots` table update (does NOT delete physical files)
Also add a `find_unreferenced_files()` utility that identifies data files, manifests, and manifest lists that are only referenced by expired snapshots and can be safely deleted.
### Willingness to contribute
I am willing to submit a PR for this feature.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Add ExpireSnapshotsAction for snapshot lifecycle management [iceberg-rust]
Posted by "laskoviymishka (via GitHub)" <gi...@apache.org>.
laskoviymishka closed issue #2145: Add ExpireSnapshotsAction for snapshot lifecycle management
URL: https://github.com/apache/iceberg-rust/issues/2145
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Add ExpireSnapshotsAction for snapshot lifecycle management [iceberg-rust]
Posted by "dhruvarya-db (via GitHub)" <gi...@apache.org>.
dhruvarya-db commented on issue #2145:
URL: https://github.com/apache/iceberg-rust/issues/2145#issuecomment-4579462413
Hi @drbothen , I saw your [closed PR](https://github.com/apache/iceberg-rust/pull/2146) for this. Do you still plan to get it merged or is it okay if I pick this up?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org