Skip to content

clusterversion: reduce stuttering in package API#57338

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
irfansharif:201201.remove-cv-stuttering
Dec 2, 2020
Merged

clusterversion: reduce stuttering in package API#57338
craig[bot] merged 1 commit intocockroachdb:masterfrom
irfansharif:201201.remove-cv-stuttering

Conversation

@irfansharif
Copy link
Copy Markdown
Contributor

This package was extracted out of pkg/settings/cluster in #45455. Now
that we're coupling it tightly with our migrations infrastructure
(pkg/migration), let's remove some unnecessary stuttering for ease of
use.

- if <settings handle>.Version.IsActive(ctx, clusterversion.VersionSomething) {
+ if <settings handle>.Version.IsActive(ctx, clusterversion.Something) {

All the diffs here are just mechanical goland-renames.

Release note: None

@irfansharif irfansharif requested review from a team, knz and tbg December 1, 2020 23:13
@irfansharif irfansharif requested a review from a team as a code owner December 1, 2020 23:13
@irfansharif irfansharif requested review from dt and removed request for a team December 1, 2020 23:13
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@irfansharif irfansharif removed the request for review from dt December 1, 2020 23:14
@irfansharif irfansharif force-pushed the 201201.remove-cv-stuttering branch from d96eca7 to 1d418d9 Compare December 1, 2020 23:27
Copy link
Copy Markdown
Contributor

@knz knz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: with nit

Reviewed 46 of 46 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @irfansharif and @tbg)


pkg/server/updates_test.go, line 150 at r1 (raw file):

		}
	}
	// ListBetween 10 and 100 queries is quantized to 10.

Please revert this file.

@irfansharif irfansharif force-pushed the 201201.remove-cv-stuttering branch from 1d418d9 to 54f23c5 Compare December 2, 2020 14:46
Copy link
Copy Markdown
Contributor Author

@irfansharif irfansharif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TFTRs!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @knz)


pkg/server/updates_test.go, line 150 at r1 (raw file):

Previously, knz (kena) wrote…

Please revert this file.

Woops, done.

@irfansharif
Copy link
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 2, 2020

Build failed (retrying...):

This package was extracted out of pkg/settings/cluster in cockroachdb#45455. Now
that we're coupling it tightly with our migrations infrastructure
(pkg/migration), let's remove some unnecessary stuttering for ease of
use.

```diff
- if <settings handle>.Version.IsActive(ctx, clusterversion.VersionSomething) {
+ if <settings handle>.Version.IsActive(ctx, clusterversion.Something) {
```

All the diffs here are just mechanical goland-renames.

Release note: None
@irfansharif irfansharif force-pushed the 201201.remove-cv-stuttering branch from 54f23c5 to 3230734 Compare December 2, 2020 16:12
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 2, 2020

Canceled.

@irfansharif
Copy link
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 2, 2020

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 2, 2020

Build succeeded:

@craig craig bot merged commit d3f73b9 into cockroachdb:master Dec 2, 2020
@irfansharif irfansharif deleted the 201201.remove-cv-stuttering branch December 2, 2020 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants