[v25.1.x] [CORE-13087] dl/coordinator: don't purge data when dropping Glue table#27382
Merged
andrwng merged 2 commits intoredpanda-data:v25.1.xfrom Aug 28, 2025
Merged
Conversation
We'll need another kludge for Glue (to not purge tables when dropping, which isn't currently supported by Glue), so this pulls out the Glue-detecting logic for reuse in a subsequent commit. (cherry picked from commit 60093e7)
Glue doesn's support the purgeRequested option when dropping tables, and will reject our requests indefinitely when a tombstone exists. This ends up blocking topic tombstone removal, and therefore blocks subsequent Iceberg topics of the same name from translating any data. This commit plumbs a bool to the drop_table() command that is false for Glue. I considered doing this in the catalog layer, but opted to be more explicit (it's hopeflly less surprising for readers that way). Manually tested this against Glue: 1. create an Iceberg topic 2. produce to the Iceberg topic and wait for Iceberg commits 3. drop the Iceberg topic 4. witness the drop table op eventually succeeding in Glue 5. manually delete the data in Iceberg 6. recreate the topic and produce without issues ...as well as another sequence where I didn't do step 4 and instead immediately went on to delete data and recreate the topic. In both cases, the Redpanda coordinator was not blocked and could produce to the new topic without issues. (cherry picked from commit dac3524)
4 tasks
Collaborator
CI test resultstest results on build#71403
|
wdberkeley
approved these changes
Aug 28, 2025
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 #27367
CONFLICT:
get_effective_default_partition_spec()is slightly relocated in this branch