cowsql / raft

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

v1: Report server disk capacity #153

Closed freeekanayaka closed 7 months ago

freeekanayaka commented 7 months ago

The RequestVote result and AppendEntries result messages now include information about the amount of disk capacity that followers have reserved for writing new disk entries.

This will allow to better handle errors due to full disk.

codecov[bot] commented 7 months ago

Codecov Report

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

Comparison is base (a3d6672) 73.95% compared to head (d3a809a) 74.03%. Report is 1 commits behind head on main.

Files Patch % Lines
src/uv_encoding.c 82.35% 4 Missing and 5 partials :warning:
src/recv_install_snapshot.c 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #153 +/- ## ========================================== + Coverage 73.95% 74.03% +0.07% ========================================== Files 52 52 Lines 10028 10089 +61 Branches 2442 2449 +7 ========================================== + Hits 7416 7469 +53 - Misses 1260 1265 +5 - Partials 1352 1355 +3 ```

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