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

fhir-bucket process should exit after reindex failure #2752 #2776

Merged
merged 1 commit into from
Sep 20, 2021
Merged

Conversation

prb112
Copy link
Contributor

@prb112 prb112 commented Sep 17, 2021

Same regression as a prior issue - same fix in this case.

Signed-off-by: Paul Bastide pbastide@us.ibm.com

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
@prb112 prb112 self-assigned this Sep 17, 2021
Comment on lines +350 to 352
} catch(Throwable t) {
logger.log(Level.SEVERE, "Throwable caught. FHIR client thread will exit", t);
}
Copy link
Contributor Author

@prb112 prb112 Sep 17, 2021

Choose a reason for hiding this comment

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

This is the NEW code. it flows out without success.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tbieste
Copy link
Contributor

tbieste commented Sep 20, 2021

Can you also add a finally block around line 415 (decrementAndGet)? Otherwise, LGTM.

@prb112 prb112 merged commit 9949074 into main Sep 20, 2021
@prb112 prb112 deleted the issue-2752 branch September 20, 2021 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants