log: trigger an election when another leader send us an AE with the same term
node: do not delete my own node from a cluster
log: Apply deep-sleep state from heartbeats / leaders instead of computing locally
Ring agnostic, Consistent, C Raft implementation
libfloat
is an effort to propose a very simple RAFT library, focusing on
consistent data replication (eg; databases). It can be runned with or without
an userspace, and does not implement networking or writes, leaving the
implementation a lot of room for specific use cases.
This implementation is based on the RAFT paper, but does not implement FSM consistency.
In order to compile, you will need the following programs:
gcc
/ clang
cmake
Clone the repository:
git clone https://git.sr.ht/~ne02ptzero/libfloat
cd
& create the build directory:
cd libfloat && mkdir -p build && cd build && cmake ..
Compile everything:
make
If you want to contribute, please send your patches to ~ne02ptzero/libfloat@lists.sr.ht You can look at git-send-email.io if you need to setup your mail client.
Please report your bugs by email at ~ne02ptzero/libfloat@lists.sr.ht