package
19.2.10+incompatible
Repository: https://github.com/shermancrl/cockroach.git
Documentation: pkg.go.dev

# Constants

MAXIMIZE_DIVERSITY is a strategy which tries to maximize locality diversity when creating copysets from a store list.
MINIMIZE_MOVEMENT is a strategy which tries to minimize changes to existing copysets when generating new copysets on store list changes.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AllCopysets contains the map between replication factor to its copysets.
Copyset contains the set of stores belonging to the same copyset.
Copysets contains copysets for a particular replication factor.
Maintainer maintains and assigns copysets to stores.

# Interfaces

Reader is used to read copysets in the cluster.

# Type aliases

CopysetID is a custom type for a cockroach copyset ID.
CopysetStrategy has the set of supported copyset-store allocation strategies.