cowsql / raft

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

replication: Don't delay replication after a failed probe #117

Closed freeekanayaka closed 10 months ago

freeekanayaka commented 10 months ago

Some call sites require to skip the progressShouldReplicate() check and force triggering replication immediately. For if probing a server fails because of missing entries, the leader should retry immediately without waiting for the heartbeat timeout to expire.

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0b23c13) 75.40% compared to head (c1866c1) 75.45%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #117 +/- ## ========================================== + Coverage 75.40% 75.45% +0.05% ========================================== Files 52 52 Lines 9647 9649 +2 Branches 2389 2389 ========================================== + Hits 7274 7281 +7 + Misses 1038 1034 -4 + Partials 1335 1334 -1 ```

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