Closed justinlin-linkedin closed 7 months ago
Attention: Patch coverage is 80.64516%
with 6 lines
in your changes are missing coverage. Please review.
Project coverage is 70.67%. Comparing base (
2ec5676
) to head (467154a
).
Files | Patch % | Lines |
---|---|---|
...main/java/com/github/ambry/store/IndexSegment.java | 80.64% | 4 Missing and 2 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary
Checking CRC of the unsealed index segment file before parsing its content to get all the index entries. Checking the CRC before parsing would expose file corruption error. If CRC matches with the content of the file, then all the errors in the parsing, will be treated as logical error.
Test
Unit test