-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The raftLog structure currently plays multiple roles. Notably:
- Provides read/write access to the raft log (both the
unstablein-memory part, and theStoragepart), and keeps the basic metadata about the log. - To some degree, ensures correctness w.r.t. the core
raftalgorithm. - Implements flow control mechanisms for applying the commands from this log.
The flow control role is quite distinct from the other roles, and is less fundamental. It should be decoupled. Once decoupling is done, raftLog can be isolated in its own package and rigorously tested without assumptions about the flow.
Related to #64, though this clean-up has value on its own.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request