package
24.3.6+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package mixedversion implements a framework for testing functionality when a cluster is in a mixed-version state.
No description provided by the author
# Functions
CheckInvalidDescriptors returns an error if there exists any descriptors in the crdb_internal.invalid_objects virtual table.
CheckReplicaDivergenceOnDB runs a consistency check via the provided DB.
DefaultHTTPClient returns a default RoachtestHTTPClient.
Every is a convenience constructor for an EveryN object that allows a log message every n duration.
No description provided by the author
GetDiskUsageInBytes executes the command `du {store-dir}` on node `nodeIdx` and parses the result to bytes.
No description provided by the author
InstallLaunchAndConfigureJaegerAllInOne sets up jaeger on n1 and changes the cluster settings so that tracing is globally on and directed at the jaeger collector.
No description provided by the author
No description provided by the author
NewCommand builds a command.
NewDiskUsageLogger populates a DiskUsageLogger.
No description provided by the author
NewHealthChecker returns a populated HealthChecker.
SetDefaultAdminUIPort sets the AdminUI port to the default of 26258 if it is a non-local cluster.
SetDefaultSQLPort sets the SQL port to the default of 26257 if it is a non-local cluster.
SystemInterfaceSystemdUnitName is a convenience function that returns the systemd unit name for the system interface.
No description provided by the author
WaitFor3XReplication is like WaitForReplication but specifically requires three as the minimum number of voters a range must be replicated on.
WaitForReplication waits until all ranges in the system are on at least or exactly replicationFactor number of voters, depending on the supplied waitForReplicationType.
WaitForUpdatedReplicationReport waits for an updated replication report.
# Constants
atleastReplicationFactor indicates all ranges in the system should have at least the replicationFactor number of replicas.
exactlyReplicationFactor indicates that all ranges in the system should have exactly the replicationFactor number of replicas.
# Structs
Command wraps a command to be run in a cluster.
DiskUsageLogger regularly logs the disk spaced used by the nodes in the cluster.
DiskUsageTracker can grab the disk usage of the provided cluster.
EveryN provides a way to rate limit noisy log messages.
HealthChecker runs a regular check that verifies that a specified subset of (CockroachDB) nodes look "very healthy".
No description provided by the author
RoachtestHTTPClient is a wrapper over httputil.client that: - Adds cookies for every request, allowing the client to authenticate with secure clusters.
No description provided by the author