Skip to content

[flink] Reject conflicting arguments in expire_changelogs - #11632

Open
csurong wants to merge 1 commit into
apache:masterfrom
csurong:fix/expire-changelogs-conflicting-options
Open

csurong wants to merge 1 commit into
apache:masterfrom
csurong:fix/expire-changelogs-conflicting-options

Conversation

@csurong

@csurong csurong commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Purpose

Fixes #11631.

Flink expire_changelogs accepts delete_all=true with retention arguments and follows the delete-all path. Reject these mixed arguments in the shared procedure, matching Spark, and update the CLI help and docs. Normal retention cleanup and standalone delete_all=true keep their behavior.

Tests

The new Action and SQL conflict tests fail before the fix because no exception is thrown. All 13 ExpireChangelogsProcedureITCase cases pass with Flink 1.20.1 / JDK 8 and Flink 2.2.0 / JDK 11, including valid retention and delete-all calls. Checkstyle and Spotless also pass.

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.

[Feature] Reject conflicting arguments in Flink expire_changelogs

1 participant