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: limit number of workers for schemachange tests #40924

Merged
merged 1 commit into from
Sep 19, 2019

Conversation

RaduBerinde
Copy link
Member

With --wait=false, tpcc defaults to 10*W workers and connections.
The opt catalog objects are per-connection, so this ends up using a
lot of memory. The schema change part makes it worse because we keep
multiple versions of the changed tables.

Reduce the number of connections in the tests, at least until we
implement sharing of opt catalog objects between connections.

Fixes #40566.

Release justification: non-production code change.

Release note: None

With `--wait=false`, tpcc defaults to `10*W` workers and connections.
The opt catalog objects are per-connection, so this ends up using a
lot of memory. The schema change part makes it worse because we keep
multiple versions of the changed tables.

Reduce the number of connections in the tests, at least until we
implement sharing of opt catalog objects between connections.

Fixes cockroachdb#40566.

Release justification: non-production code change.

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@nvanbenschoten nvanbenschoten left a comment

Choose a reason for hiding this comment

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

Thanks!

@RaduBerinde
Copy link
Member Author

bors r+

craig bot pushed a commit that referenced this pull request Sep 19, 2019
40924: roachtest: limit number of workers for schemachange tests r=RaduBerinde a=RaduBerinde

With `--wait=false`, tpcc defaults to `10*W` workers and connections.
The opt catalog objects are per-connection, so this ends up using a
lot of memory. The schema change part makes it worse because we keep
multiple versions of the changed tables.

Reduce the number of connections in the tests, at least until we
implement sharing of opt catalog objects between connections.

Fixes #40566.

Release justification: non-production code change.

Release note: None

Co-authored-by: Radu Berinde <radu@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Sep 19, 2019

Build succeeded

@craig craig bot merged commit 1de3562 into cockroachdb:master Sep 19, 2019
@RaduBerinde RaduBerinde deleted the roachtest-workers branch September 27, 2019 13:59
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: schemachange/index/tpcc/w=1000 failed
3 participants