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
This commit introduces a new feature that allows applications to define
a custom type for Raft log entries in `RaftTypeConfig`. By setting `Entry =
MyEntry`, where `MyEntry` implements the `RaftEntry` trait, an application
can now define its own log entry type that reflects its architecture.
However, the default implementation, the `Entry` type is still available.
This change provides more flexibility for applications to tailor the
Raft log entry to their specific needs.
- Fix: #705
- Changes: `RaftStorage::append_to_log()` and `RaftStorage::apply_to_state_machine()` accepts slice of entries instead of slice of entry references.
0 commit comments