raft_kv v0.2.5 RaftKV.Workflow.SplitShard View Source

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() ::
  {:create_consensus_group
   | :transfer_latter_half
   | :add_ets_record_in_all_nodes, atom(), RaftKV.Hash.t(), RaftKV.Hash.t()}

Link to this section Functions

Link to this function

execute(t) View Source
execute(t()) :: :ok | {:abort, String.t()}

Link to this function

first(ks_name, target_range_start, new_range_start) View Source
first(atom(), RaftKV.Hash.t(), RaftKV.Hash.t()) :: t()

Link to this function

next(t) View Source
next(t()) :: nil | t()