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

Core: Add CommitStateUnknownException handling to REST #5694

Merged
merged 3 commits into from
Sep 2, 2022

Conversation

rdblue
Copy link
Contributor

@rdblue rdblue commented Sep 2, 2022

This updates exception handling for the REST catalog where it deviates from the spec:

  • Throws CommitStateUnknownException for 500 and 504 for table commits. This is needed to suppress file deletion when a commit may have succeeded
  • Throws ServiceUnavailableException for 503 on all routes
  • Updates ServiceFailureException for 500 on non-commit routes to extend RESTException

Copy link
Contributor

@danielcweeks danielcweeks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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