-
Notifications
You must be signed in to change notification settings - Fork 4.1k
clusterversion: tracking issue for improvements and cleanup #112629
Copy link
Copy link
Closed
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
- Use an array for the versions table (
[numKeys]roachpb.Version) for cleaner definitions (and fast lookup) - Deprecate
ByKey()in favor of aKey.Version()method (to avoid the annoyingclusterversion.ByKey(clusterversion.VFoo) - Separate the
DevOffsetcode to a different file, improve documentation - Rename
BinaryVersiontoLatest,MinBinarySupportedVersiontoMinSupported - In
VersionHandlerenamebinaryVersiontomaxVersionandbinaryMinSupportedVersiontominVersion - Remove
TestingBinaryVersionetc -
Rework scheme for intermediary versions: clusterversion: rework scheme for intermediary versions #112708[too disruptive] - Make tests around upgrade that check an expected version only look at the release series part (so they don't need fixing when we mint a final version)
- Adjust cockroach cli initialization use the previous release instead of
MinSupportedunless skipping is enabled via env var; update upgrade roachtests -
Add a special nightly build that runs unit tests with[not worth triaging test failures from flaky tests]MinSupportedbumped up (using a build tag) - Make a command that can dump new "initial values" files (for
pkg/sql/catalog/bootstrap/data/) - Avoid unmarshaling in the
IsActivehot path (clusterversion: proto Unmarshal on each version check #113385)
And, after a good chunk of these are done:
- Update/rewrite the release runbooks as an
mdfile in the repo.
Jira issue: CRDB-32524
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)