-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
lease: remove code from 20.1->20.2 migration #62579
Conversation
There was a problem hiding this 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.
pkg/sql/catalog/lease/lease.go
Outdated
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: s/either a//
1348308
to
48e0887
Compare
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
48e0887
to
1579a4c
Compare
There was a problem hiding this 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: complete! 0 of 0 LGTMs obtained (waiting on @ajwerner and @fqazi)
Build succeeded: |
This version's use was removed in cockroachdb#62579. Release note: None
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