cowsql / raft

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

replication: Update commit index eagerly on followers #171

Closed freeekanayaka closed 9 months ago

freeekanayaka commented 9 months ago

We don't need to wait for entries to be persisted.

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (1eee7ac) 74.06% compared to head (002ad9c) 74.15%.

Files Patch % Lines
src/membership.c 27.27% 6 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #171 +/- ## ========================================== + Coverage 74.06% 74.15% +0.09% ========================================== Files 52 52 Lines 10383 10369 -14 Branches 2471 2467 -4 ========================================== - Hits 7690 7689 -1 + Misses 1335 1324 -11 + Partials 1358 1356 -2 ```

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