jmsadair / raft

An implementation of the Raft consensus protocol.
MIT License
35 stars 3 forks source link

Snapshots v2 #2

Closed jmsadair closed 1 year ago

jmsadair commented 1 year ago

This adds manual snapshot capabilities to the system. The user may turn on auto snapshots and set a maximum snapshot size, and the Raft implementation will take snapshots for them. Alternatively, the use may take a snapshot at any point using the TakeSnapshot function.

Additionally, this removed the pkg directory, refactored many components of the system, and added additional tests.