dqlite icon indicating copy to clipboard operation
dqlite copied to clipboard

Out of disk behavior

Open MathieuBordere opened this issue 1 year ago • 3 comments

We should gracefully handle a leader node running out of disk. Currently the leader will not step down when running out of disk, resulting in an unavailable cluster. A first step could be for the leader to just step down if it detects an out of disk state.

MathieuBordere avatar Mar 09 '23 10:03 MathieuBordere

I tried to address this previously in canonical/raft#321 (see also canonical/raft#320), but wouldn't be surprised if I missed something there.

cole-miller avatar Mar 09 '23 15:03 cole-miller

Allright, it was related to behaviour observed by the reported of https://github.com/canonical/dqlite/issues/588 maybe the raft implementation was not recent enough.

MathieuBordere avatar Mar 09 '23 15:03 MathieuBordere

Indeed, that merge commit is only present in Raft v0.16.0 and up, and microk8s v1.26 builds with Raft v0.14.0.

cole-miller avatar Mar 09 '23 15:03 cole-miller