google / fhir-data-pipes

A collection of tools for extracting FHIR resources and analytics services on top of that data.
https://google.github.io/fhir-data-pipes/
Apache License 2.0
141 stars 80 forks source link

Avoid resetting connections to mitigate thrift server errors. #1017

Closed bashir2 closed 2 months ago

bashir2 commented 2 months ago

Description of what I changed

Partially fixes #483; see this comment for details.

E2E test

TESTED:

Ran the controller locally and verified that the errors on the Thrift Server do not happen.

Checklist: I completed these to help reviewers :)

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 5.26316% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 50.39%. Comparing base (8ffa8a3) to head (72a1dd8).

Files Patch % Lines
...com/google/fhir/analytics/JdbcConnectionPools.java 0.00% 11 Missing :warning:
...c/main/java/com/google/fhir/analytics/FhirEtl.java 0.00% 3 Missing :warning:
...a/com/google/fhir/analytics/FetchSearchPageFn.java 0.00% 1 Missing :warning:
.../com/google/fhir/analytics/JdbcResourceWriter.java 0.00% 1 Missing :warning:
...va/com/google/fhir/analytics/HiveTableManager.java 0.00% 1 Missing :warning:
...ava/com/google/fhir/analytics/PipelineManager.java 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1017 +/- ## ============================================ - Coverage 50.42% 50.39% -0.04% Complexity 666 666 ============================================ Files 91 91 Lines 5485 5487 +2 Branches 704 704 ============================================ - Hits 2766 2765 -1 - Misses 2459 2462 +3 Partials 260 260 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.