jmsadair / raft

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

Removed ListSnapshots from SnapshotStorage #43

Closed jmsadair closed 9 months ago

jmsadair commented 9 months ago

This removes the ListSnapshots function from the SnapshotStorage interface. Ultimately, this function was not actually needed by the raft implementation. I'd like to keep the interfaces in this project as minimal as possible, so I felt it was best to remove it rather than requiring that clients implement it if they are using their own SnapshotStorage implementation.