Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModeManager ¶
ModeManager is used to control how raft logs are synchronized between different tikv nodes.
func NewReplicateModeManager ¶
func NewReplicateModeManager(config config.ReplicateModeConfig, storage *core.Storage, idAlloc id.Allocator, stores core.StoreSetInformer) (*ModeManager, error)
NewReplicateModeManager creates the replicate mode manager.
func (*ModeManager) GetReplicateStatus ¶
func (m *ModeManager) GetReplicateStatus() *pb.ReplicateStatus
GetReplicateStatus returns the status to sync with tikv servers.
func (*ModeManager) Run ¶
func (m *ModeManager) Run(quit chan struct{})
Run starts the background job.
Click to show internal directories.
Click to hide internal directories.