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

@W-13729777 - handle closed index in index merger #605

Merged
merged 1 commit into from
Aug 16, 2023
Merged

Conversation

sagikSF
Copy link
Collaborator

@sagikSF sagikSF commented Aug 16, 2023

No description provided.

@@ -1101,8 +1112,9 @@ private void deleteIndex(String index) {
} else {
LOG.info("Index {} deleted", index);
}
} catch (IOException e) {
} catch (Exception e) {

Choose a reason for hiding this comment

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

instead of rethrow, you can just not cache the exception here, and handle the catch in caller method (logging)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i need to figure some thing about the delete
i will do it in a separate PR

@sagikSF sagikSF merged commit ce5f1d2 into master Aug 16, 2023
2 of 3 checks passed
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.

2 participants