Closed justinlin-linkedin closed 5 months ago
Attention: Patch coverage is 0%
with 4 lines
in your changes are missing coverage. Please review.
Project coverage is 70.65%. Comparing base (
4a4ee68
) to head (96dd63d
).
Files | Patch % | Lines |
---|---|---|
...ithub/ambry/replication/ReplicaTokenPersistor.java | 0.00% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary
When replication manager starts, it will read the remote replica tokens from a file, and then try to deserialize it. When it fails on deserialization, the ambry-server would fail to start. However, we are not able to see from the log or stack trace which replica file is not able to deserialize. This PR would make sure we print that information out.
Test
Unit test