Closed justinlin-linkedin closed 2 months ago
Attention: Patch coverage is 25.00000%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 70.13%. Comparing base (
52ba813
) to head (f8cdeac
). Report is 78 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
...java/com/github/ambry/router/GetBlobOperation.java | 25.00% | 2 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary
We have a missing data chunk error count metric to record the number of get blob operations that encountered a missing data chunk error. However, this metric is incremented in the wrong place, we increment it every time we see a NOT_FOUND response from any replica, this is not very useful.
This PR fixes that and only increments this counter metric at the end of get chunk operation when it fails with Blob_Not_Found error.
Test
Unit test