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

[Managed Iceberg] bubble up exceptions due to writer close #32940

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ahmedabu98
Copy link
Contributor

@ahmedabu98 ahmedabu98 commented Oct 24, 2024

Guava's cache swallows removal listener exceptions, which may happen when a writer fails to close. This change will accumulate those suppressed exceptions and rethrow them later in the main thread.

We already fail the writer manager if any writer fails to close properly. This is more of a visibility/debugability issue, in trying to understand why the writer failed to close.

@ahmedabu98
Copy link
Contributor Author

R: @kennknowles

Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers

@kennknowles
Copy link
Member

Well, it would be good to have a test that confirms the exception makes it up to the top level.

@ahmedabu98
Copy link
Contributor Author

@kennknowles added a test, PTAL!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants