Feature-complete implementation of the Raft consensus algorithm in Java
Fixes:
Change log
New APIs:
RaftNode.query()
API for monotonic-read / read-your-writes queries (https://github.com/MicroRaft/MicroRaft/commit/bf415940d4dc9d82bea4e178a019fe42e14bc6b1).Bug fixes:
Backward incompatible changes:
RaftNode.query()
API is deleted in favour of the new API (https://github.com/MicroRaft/MicroRaft/commit/c62c819e7370cf3d22390ff64e76115c3b42b641). Users can just update their call sites for the new API.How to use
<dependency>
<groupId>io.microraft</groupId>
<artifactId>microraft</artifactId>
<version>0.6</version>
</dependency>
Change log:
How to use MicroRaft 0.5:
<dependency>
<groupId>io.microraft</groupId>
<artifactId>microraft</artifactId>
<version>0.5</version>
</dependency>
RaftNode#takeSnapshot() method is added. It can be used for manually triggering snapshots on local RaftNode.
Initial release