package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
TestingCreateMultiRegionCluster creates a test cluster with numServers number of nodes and the provided testing knobs applied to each of the nodes.
TestingCreateMultiRegionClusterWithRegionList creates a test cluster with serversPerRegion number of nodes in each of the provided regions and the provided testing knobs applied to each of the nodes.
TestingEnsureCorrectPartitioning ensures that the table referenced by the supplied FQN has the expected indexes and that all of those indexes have the expected partitions.
WithBaseDirectory is an option to include a base directory for the created multi-region cluster.
WithReplicationMode is an option to control the replication mode for the created multi-region cluster.
WithScanInterval is used to configure the scan interval for various KV queues.
WithSettings is used to configure the settings the cluster is created with.
WithUseDatabase is an option to set the UseDatabase server option.
# Type aliases
MultiRegionTestClusterParamsOption is an option that can be passed to TestingCreateMultiRegionCluster.