tsreaper opened a new pull request, #7429:
URL: https://github.com/apache/paimon/pull/7429

   ### Purpose
   
   Currently, `ChangelogDeletion` will clean base and delta manifests. However 
these manifests are also cleaned in `SnapshotDeletion`.
   
   Consider the following scenario:
   
   * `snapshot-1` is changed to `changelog-1`. However due to some issue, its 
base and delta manifests are not cleaned.
   * `snapshot-1` is changed to `changelog-2`. Its base and delta manifests are 
cleaned.
   * When expiring `changelog-1`, as `changelog-2` has no manifests, all 
manifests in `changelog-1` will be cleaned, even if they're still in use by 
later snapshots.
   
   This PR fixes the bug by not cleaning base and delta manifests in 
`ChangelogDeletion`.
   


-- 
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]

Reply via email to