Skip to content

[core] Changelog expiration skip expired changes to avoid FileNotFoundException#7923

Merged
yuzelin merged 5 commits into
apache:masterfrom
yuzelin:fix-changelog
May 22, 2026
Merged

[core] Changelog expiration skip expired changes to avoid FileNotFoundException#7923
yuzelin merged 5 commits into
apache:masterfrom
yuzelin:fix-changelog

Conversation

@yuzelin
Copy link
Copy Markdown
Contributor

@yuzelin yuzelin commented May 21, 2026

Purpose

If some changelogs are deleted by other job, we should ensure the commit process won't be interrupted by expiration (like ExpireSnapshotsImpl).

Tests

Copy link
Copy Markdown
Contributor

@LsomeYeah LsomeYeah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor changes.

Comment on lines +134 to +135
// This happens when retainMin >= total changelog count
// (e.g. latestSnapshotId - retainMin + 1 <= earliestChangelogId),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: trailing comma

@yuzelin yuzelin merged commit df830aa into apache:master May 22, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants