package
1.1.4
Repository: https://github.com/radondb/radon.git
Documentation: pkg.go.dev

# Functions

NewMockShift used to new a mockshift.
NewShiftManager -- used to create a new shift manager.

# Constants

ShiftStatusFail enum.
ShiftStatusMigrating enum.
ShiftStatusNone enum, if status is none, some errors happen.
ShiftStatusSuccess enum.
ShiftTypeNone enum, a shift type should not be none.
ShiftTypeRebalance enum.
ShiftTypeReshard enum.

# Variables

MockShiftInfo used to mock a shift info.

# Structs

MockShift used to mock a shift for test.
ShiftInfo used to record basic infos used by shift.
ShiftManager used to manager the infos about the shift Called by reshard/rebalance.

# Interfaces

No description provided by the author

# Type aliases

ShiftStatus used to indicates shift instance's status.
ShiftType is used to distinguish what different type of shift If it is called by reshard, the type will be ShiftTypeReshard If it is called by rebalance, the type will be ShiftTypeRebalance.