[v25.3.x] datalake/coordinator: add reset topic state escape hatch#29759
Merged
nvartolomei merged 2 commits intoredpanda-data:v25.3.xfrom Mar 5, 2026
Merged
Conversation
Operators may need to clear pending files from the datalake coordinator when Iceberg catalog state becomes inconsistent (e.g. after manual catalog modifications) which can result in stuck coordinator. The new CoordinatorResetState RPC is exposed via the admin API with SUPERUSER authorization and plumbed through the coordinator frontend, RPC service, and state machine. (cherry picked from commit c6f5621)
In some cases we want to manually choose from where translation should resume after a coordinator reset. Add per-partition last_committed overrides and a reset_all_partitions flag. By default reset_all_partitions is false and the request is a no-op unless partition_overrides are provided — only the listed partitions have their pending entries cleared and last_committed set. Setting reset_all_partitions to true clears all partitions first, then applies any overrides. This default-safe design minimizes surprise and makes it harder to accidentally wipe state. (cherry picked from commit f44ca9d)
nvartolomei
approved these changes
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of PR #29596