Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lease: remove code from 20.1->20.2 migration #62579

Merged

Conversation

ajwerner
Copy link
Contributor

In 20.1, rangefeeds were not unconditionally enabled on the descriptor
table and so we had to poll for the migration. This code was pretty gross
and I'm happy to excise it.

Release note: None

@ajwerner ajwerner requested a review from a team March 25, 2021 03:18
@ajwerner ajwerner requested a review from a team as a code owner March 25, 2021 03:18
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajwerner ajwerner requested a review from postamar March 25, 2021 03:19
Copy link
Contributor

@postamar postamar left a comment

Choose a reason for hiding this comment

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

Deleting code is the best feeling. LGTM just a small typo you might want to fix.

func (m *Manager) watchForRangefeedUpdates(
ctx context.Context, s *stop.Stopper, db *kv.DB, descUpdateCh chan<- *descpb.Descriptor,
) {
// watchForUpdates will watch either a rangefeeds on the system.descriptor
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: s/either a//

@ajwerner ajwerner requested a review from fqazi March 25, 2021 19:02
@ajwerner ajwerner force-pushed the ajwerner/remove-rangefeed-migration-code branch from 1348308 to 48e0887 Compare March 29, 2021 18:11
In 20.1, rangefeeds were not unconditionally enabled on the descriptor
table and so we had to poll for the migration. This code was pretty gross
and I'm happy to excise it.

Release note: None
@ajwerner ajwerner force-pushed the ajwerner/remove-rangefeed-migration-code branch from 48e0887 to 1579a4c Compare March 29, 2021 20:27
Copy link
Contributor Author

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

bors r+

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @ajwerner and @fqazi)

@craig
Copy link
Contributor

craig bot commented Mar 29, 2021

Build succeeded:

@craig craig bot merged commit 0dd303e into cockroachdb:master Mar 29, 2021
@rafiss rafiss added this to the 21.1 milestone Apr 22, 2021
ajwerner added a commit to ajwerner/cockroach that referenced this pull request Jun 16, 2021
This version's use was removed in cockroachdb#62579.

Release note: None
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