projectnessie / nessie

Nessie: Transactional Catalog for Data Lakes with Git-like semantics
https://projectnessie.org
Apache License 2.0
1.04k stars 129 forks source link

ReferenceLogic: parameterized purge of the commit log of a `Reference` #9735

Closed snazy closed 1 month ago

snazy commented 1 month ago

Just implements the functionality to "shorten" the commit log history of a Reference. No API yet and this should still be optimized to reduce heap pressure by memoizing only ObjIds instead of CommitObjs.

Exposing this functionality is not yet adviseable, because it would be meaningles w/o #9688 in place and exposed as a functionality as well.

Fixes #9733