rebalance

package
Version: v0.0.0-...-d20dd18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartRebalance

func StartRebalance(sg *servergroup.ServerGroup, lh *core.Core, ShouldStop func() bool)

StartRebalance creates a new Rebalancer and begins its operation

Types

type Rebalancer

type Rebalancer struct {
	// contains filtered or unexported fields
}

Rebalancer is used to rebalance the system, getting a copy (duplication) of chunks and deleting the local copy of chunks as needed

func (*Rebalancer) Stop

func (r *Rebalancer) Stop()

Stop stops rebalancing the server

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL