Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSM ¶
type FSM struct {
// contains filtered or unexported fields
}
FSM implements a finite state machine that is used along with Raft to provide strong consistency. We implement this outside the Server to avoid exposing this outside the package.
func New ¶
func New(gc *state.TombstoneGC, logger hclog.Logger) (*FSM, error)
New is used to construct a new FSM with a blank state.
func (*FSM) ChunkingFSM ¶ added in v1.5.3
func (c *FSM) ChunkingFSM() *raftchunking.ChunkingFSM
Click to show internal directories.
Click to hide internal directories.