cowsql / raft

Asynchronous C implementation of the Raft consensus protocol
https://raft.readthedocs.io
Other
45 stars 6 forks source link

v1: Retry failed writes in the backend #143

Closed freeekanayaka closed 7 months ago

freeekanayaka commented 7 months ago

Instead of notifying a failure result to the engine, failing writes will be retried by the backend.

codecov[bot] commented 7 months ago

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (7c19d5c) 73.86% compared to head (528fca5) 73.93%.

:exclamation: Current head 528fca5 differs from pull request most recent head 7313611. Consider uploading reports for the commit 7313611 to get more accurate results

Files Patch % Lines
src/progress.c 83.33% 2 Missing and 1 partial :warning:
src/replication.c 81.25% 0 Missing and 3 partials :warning:
src/recv_append_entries.c 80.00% 0 Missing and 1 partial :warning:
src/recv_append_entries_result.c 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #143 +/- ## ========================================== + Coverage 73.86% 73.93% +0.07% ========================================== Files 52 52 Lines 10005 10022 +17 Branches 2436 2441 +5 ========================================== + Hits 7390 7410 +20 + Misses 1266 1260 -6 - Partials 1349 1352 +3 ```

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