Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alive ¶
type Alive struct {
// contains filtered or unexported fields
}
Function: Alive is used to update datanode's alived status. Check is datanode alived. Give suitable addresses of datanodes to stored new filekeys.
func (*Alive) LoadBalance ¶ added in v1.0.0
LoadBalance: sorted by the capacity of datanode. Perfer datanodes with small cap and addresses of returns are unique. Input how many datanode should be returned. But it also depends on how many alived datanodes I have. Return a serious of datanode to stroed related file.
Click to show internal directories.
Click to hide internal directories.