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

roachtest: don't set changefeed.push.enabled #52928

Merged

Conversation

nvanbenschoten
Copy link
Member

Fixes #52875.
Fixes #52874.
Fixes #52873.
Fixes #52872.
Fixes #52871.
Fixes #52870.
Fixes #52856.
Fixes #52855.
Fixes #52854.
Fixes #52853.
Fixes #52852.
Fixes #52544.

In 8a81eac, we stopped ignoring "unknown cluster setting" errors when setting changefeed.push.enabled in a number of cdc tests. The comment on the code mentioned v2.1, but it turns out that it was also saving us on v19.2 onward because this cluster setting was removed in v19.2 in c7a195c.

We can remove the code to set the cluster setting entirely. It's dead code when testing v19.2 onward, and the cluster setting defaults to true in v19.1.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@nvanbenschoten nvanbenschoten mentioned this pull request Aug 17, 2020
25 tasks
Copy link
Contributor

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

LGTM thanks

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @andreimatei)

@nvanbenschoten nvanbenschoten force-pushed the nvanbenschoten/changefeedPush branch from 922187c to 6878f5f Compare August 17, 2020 21:43
Fixes cockroachdb#52875.
Fixes cockroachdb#52874.
Fixes cockroachdb#52873.
Fixes cockroachdb#52872.
Fixes cockroachdb#52871.
Fixes cockroachdb#52870.
Fixes cockroachdb#52856.
Fixes cockroachdb#52855.
Fixes cockroachdb#52854.
Fixes cockroachdb#52853.
Fixes cockroachdb#52852.
Fixes cockroachdb#52544.

In 8a81eac, we stopped ignoring "unknown cluster setting" errors
when setting `changefeed.push.enabled` in a number of cdc tests.
The comment on the code mentioned v2.1, but it turns out that it
was also saving us on v19.2 onward because this cluster setting was
removed in v19.2 in c7a195c.

We can remove the code to set the cluster setting entirely. It's
dead code when testing v19.2 onward, and the cluster setting defaults
to [`true` in v19.1](https://github.com/cockroachdb/cockroach/blob/cebc92d5ad596d721382df9ef18fac2ded589547/pkg/ccl/changefeedccl/changefeed.go#L48).
We only support back to v19.1, so these MinVersions are not needed
anymore.
@nvanbenschoten nvanbenschoten force-pushed the nvanbenschoten/changefeedPush branch from 6878f5f to 43b10ce Compare August 18, 2020 03:34
@nvanbenschoten
Copy link
Member Author

bors r+

@craig
Copy link
Contributor

craig bot commented Aug 18, 2020

Build succeeded:

@craig craig bot merged commit 22a31b6 into cockroachdb:master Aug 18, 2020
@nvanbenschoten nvanbenschoten deleted the nvanbenschoten/changefeedPush branch August 19, 2020 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment