You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snapshotting in Raft is optional. However, Little Raft enforces that all users of the StateMachine trait implement get_snapshot, create_snapshot, and set_snapshot; the implementation can be a no-op if the user doesn't want to use snapshotting, but the code doesn't make that clear.
We should figure out how to move snapshot-related methods into a separate trait that has a default no-op implementation that Little Raft users can use if they choose to avoid shapshotting.
The text was updated successfully, but these errors were encountered:
Snapshotting in Raft is optional. However, Little Raft enforces that all users of the
StateMachine
trait implementget_snapshot
,create_snapshot
, andset_snapshot
; the implementation can be a no-op if the user doesn't want to use snapshotting, but the code doesn't make that clear.We should figure out how to move snapshot-related methods into a separate trait that has a default no-op implementation that Little Raft users can use if they choose to avoid shapshotting.
The text was updated successfully, but these errors were encountered: