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

Improved error handling for closing index #3123

Merged
merged 5 commits into from
Jul 16, 2024
Merged

Conversation

jkppr
Copy link
Collaborator

@jkppr jkppr commented Jul 12, 2024

There is an edge case where a user tries to archive/delete a Sketch while Opensearch is in the process of creating a snapshot in the backend. If both events come together, the attempt to archive/delete will result in a RequestError. This PR adds an exception to handle the situation and provide a transparent and actionable error message.

@jkppr jkppr added Backend Code Health Code health improvements labels Jul 12, 2024
@jkppr jkppr requested a review from berggren July 12, 2024 14:53
@jkppr jkppr self-assigned this Jul 12, 2024
@jkppr jkppr merged commit 4099487 into google:master Jul 16, 2024
24 checks passed
@jkppr jkppr deleted the fix_343579007 branch July 16, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Code Health Code health improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants