Documentation ¶
Overview ¶
rebalance provides the implementation of the rebalancer, which continually checks the data stored on a host, knows where data should live, and moves it to the appropriate servers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckAndSender ¶
type Rebalancer ¶
type Rebalancer interface { Tick() (int, error) VersionStart() int PrepVolume(*models.Volume) error Reset() error }
func NewRebalancer ¶
func NewRebalancer(r Ringer, bs torus.BlockStore, cs CheckAndSender, gc gc.GC) Rebalancer
Click to show internal directories.
Click to hide internal directories.