bush

package
v0.0.0-...-c5655c4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bush

type Bush struct {
	// VolSetID is the volume set's id this bush belongs to
	VolSetID volumeset.ID

	// Root is the snapshot's ID of the bush's root
	Root snapshot.ID

	// DataSrvID is data server's ID. Blobs of all snapshots belong to the same bush go to the same
	// data server. In another word, bush is the data server allocation unit
	DataSrvID int
}

Bush is an internal object, not exposed to users. A bush has a single root and many branches, all branches are based on that single root. A bush can be the unit of rebalancing, it can also be used as data server placement.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL