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

release-20.1: sql: ignore soft limits on scan nodes for distsql planning #47371

Merged
merged 1 commit into from
Apr 11, 2020

Conversation

yuzefovich
Copy link
Member

Backport 1/1 commits from #47365.

/cc @cockroachdb/release


We have added propagation of soft limits in 20.1 release, and this
causes some of the queries that used to run via DistSQL with
distsql=auto to get a "should not distribute" recommendation during
distsql physical planning. However, this can cause an egregious
performance regression on some queries from 19.2 version. In order to
keep the decision whether to distribute scans or not the same, we will
be ignoring the soft limits on scan nodes for now.

Addresses: #47058.

Release note: None

@yuzefovich yuzefovich requested a review from a team as a code owner April 11, 2020 05:14
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@blathers-crl
Copy link

blathers-crl bot commented Apr 11, 2020

❌ The GitHub CI (Cockroach) build has failed on 0ce5a11c.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

We have added propagation of soft limits in 20.1 release, and this
causes some of the queries that used to run via DistSQL with
`distsql=auto` to get a "should not distribute" recommendation during
distsql physical planning. However, this can cause an egregious
performance regression on some queries from 19.2 version. In order to
keep the decision whether to distribute scans or not the same, we will
be ignoring the soft limits on scan nodes for now.

Release note: None
@yuzefovich yuzefovich merged commit c966ff0 into cockroachdb:release-20.1 Apr 11, 2020
@yuzefovich yuzefovich deleted the backport20.1-47365 branch April 11, 2020 16:40
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.

3 participants