Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finder ¶
type Finder struct {
// contains filtered or unexported fields
}
func (*Finder) GetBoundaryKeys ¶
func (*Finder) GetLocations ¶
type FinderOption ¶
type FinderOption func(exp *Finder)
func Logger ¶
func Logger(logger *zap.Logger) FinderOption
type PartitionMap ¶
type PartitionMap struct { Nodes map[string]StorageGroup Ranges []RangeLocation }
type RangeLocation ¶
rangeLocation represents a set of hosts holding the given range.
type StorageGroup ¶
type StorageGroup struct {
// contains filtered or unexported fields
}
storageGroup represents a set of ranges hosted by a single node A slice of storageGroup representing entire cluster will have many ranges with overlapping contents - since same range will be stored in multiple nodes.
Click to show internal directories.
Click to hide internal directories.