badalprasadsingh opened a new pull request, #1842:
URL: https://github.com/apache/iceberg-go/pull/1842

   ### Description
   
   Closes #1829 
   
   Earlier, `ExpireSnapshots` only protected _main_'s head. With 
`history.expire.min-snapshots-to-keep=0`, a _non-main_ branch or _tag_ head 
older than max-snapshot-age-ms was expired and its ref silently dropped, 
deleting data files. 
   
   From now on, every retained _ref_'s head is kept. Both ancestor walks reuse 
`AncestorsOf`, which also terminates on cyclic metadata. 
   
   ### Testing
   Added regression tests.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to