Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup manifest and metadata files when any createTable fails #24279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sopel39
Copy link
Member

@sopel39 sopel39 commented Nov 27, 2024

Previously only metadata file was cleaned up leaving Avro manifest list files present. Now both type of files are removed.

Previously only some exceptions caused transaction files to be cleaned. Now all exceptions cause cleanup.

Description

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

## Iceberg
* Fully cleanup table transaction files when `CREATE TABLE` fails. ({issue}`issuenumber`)

Previously only metadata file was cleaned up leaving Avro manifest
list files present. Now both type of files are removed.

Previously only some exceptions caused transaction files to be cleaned.
Now all exceptions cause cleanup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant