package
1.1.9
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

DefaultZoneConfig is the default zone configuration used when no custom config has been specified.
MigrateZoneConfig migrates the legacy ZoneConfig format into the new one.
ObjectIDForKey returns the object ID (table or database) for 'key', or (_, false) if not within the structured key space.
TestingSetDefaultZoneConfig is a testing-only function that changes the default zone config and returns a function that reverts the change.
TestingSetupZoneConfigHook initializes the zone config hook to 'testingZoneConfigHook' which uses 'testingZoneConfig'.
TestingSetZoneConfig sets the zone config entry for object 'id' in the testing map.

# Constants

POSITIVE will attempt to ensure all stores the replicas are on has this constraint.
PROHIBITED will prevent replicas from having this key, value.
REQUIRED is like POSITIVE except replication will fail if not satisfied.

# 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
StaticSplits is the list of pre-defined split points in the beginning of the keyspace that are there to support separate zone configs for different parts of the system / system config ranges.
ZoneConfigHook is a function used to lookup a zone config given a table or database ID.

# Structs

Constraint constrains the stores a replica can be stored on.
Constraints is a collection of constraints.
GCPolicy defines garbage collection policies which apply to MVCC values within a zone.
No description provided by the author
ZoneConfig holds configuration that is needed for a range of KV pairs.

# Type aliases

No description provided by the author