package
0.0.0-20190307202901-e1f8a1768238
Repository: https://github.com/chrislusf/vasto.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BootstrapPlanWithTopoChange builds the bootstrap plan based on the bootstrap request.
IsShardInLocal returns true if the tuple if shard should be on current server.
LocalShards list shards that local node should have.
NewCluster creates a new cluster.
PartitionShards list shards that belongs to the same partition.
PeerShards list peer shards that are on other cluster nodes.
ShardListContains check whether shards contains one target shard.

# Structs

BootstrapPlan contains detailed plan to bootstrap one shard.
BootstrapRequest is a request to bootstrap one shard.
Cluster manages one cluster topology.
ClusterShard has the tuple of server id and shard id in a cluster.

# Type aliases

LogicalShardGroup is a list of shards with the same shard id.
VastoNodes are the servers in a cluster.