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

# Packages

No description provided by the author
Copyright 2022 The Cockroach Authors.
Package upgradecluster provides implementations of upgrade.Cluster.
Package upgradejob contains the jobs.Resumer implementation used for long-running upgrades.
Package upgrademanager provides an implementation of upgrade.Manager for use on kv nodes.
Package upgrades contains the implementation of upgrades.

# Functions

FenceVersionFor constructs the appropriate "fence version" for the given cluster version.
NewPermanentSystemUpgrade constructs a SystemUpgrade that is marked as "permanent": an upgrade that will run regardless of the cluster's bootstrap version.
NewPermanentTenantUpgrade constructs a TenantUpgrade marked as "permanent": an upgrade that will run regardless of the cluster's bootstrap version.
NewSystemUpgrade constructs a SystemUpgrade.
NewTenantUpgrade constructs a TenantUpgrade.

# Variables

NoPrecondition can be used with NewTenantUpgrade to signify that the respective upgrade does not need any preconditions checked.

# Structs

SystemDeps are the dependencies of upgrades which perform actions at the KV layer on behalf of the system tenant.
SystemUpgrade is an implementation of Upgrade for system-level upgrades.
TenantDeps are the dependencies of upgrades which perform actions at the SQL layer.
TenantUpgrade is an implementation of Upgrade for tenant-level upgrades.

# Interfaces

Cluster abstracts a physical KV cluster and can be utilized by a long-running upgrade.
JobDeps are upgrade-specific dependencies used by the upgrade job to run upgrades.

# Type aliases

PreconditionFunc is a function run without isolation before attempting an upgrade that includes this upgrade.
SystemUpgradeFunc is used to perform kv-level upgrades.
TenantUpgradeFunc is used to perform sql-level upgrades.