Skip to content

sql: fix join reader errors hitting memory limit#79330

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
cucaroach:jr-limit-fix-master
Apr 5, 2022
Merged

sql: fix join reader errors hitting memory limit#79330
craig[bot] merged 1 commit intocockroachdb:masterfrom
cucaroach:jr-limit-fix-master

Conversation

@cucaroach
Copy link
Copy Markdown
Contributor

@cucaroach cucaroach commented Apr 4, 2022

Restore non-streamer memory limit lower bound to 8MiB for join reader.
Streamer can handle a lower limit so we lowered it to 100KiB but that is
too low for some cases (like sqllitetests). Also tpchvec roachtest
has 650KiB lower limit for workmem which is too low for query 20 so
restoring the 8MiB lower bound will fix that as well.

Fixes: #78247
Fixes: #78341
Fixes: #77929

Release note: None

Jira issue: CRDB-14708

Restore non-streamer memory limit lower bound to 8MiB for join reader.
Streamer can handle a lower limit so we lowered it to 100KiB but that is
too low for some cases (like sqllitetests).  Also tpchvec roachtest
has 650KiB lower limit for workmem which is too low for query 20 so
restoring the 8MiB lower bound will fix that as well.

Fixes: cockroachdb#78247
Fixes: cockroachdb#78341
Fixes: cockroachdb#77929

Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @cucaroach)

@cucaroach
Copy link
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 4, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 4, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 5, 2022

Build succeeded:

@craig craig bot merged commit 22dc9e9 into cockroachdb:master Apr 5, 2022
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.

roachtest: tpchvec/disk failed roachtest: tpchvec/disk failed sql/logictest: TestSqlLiteLogic failed

3 participants