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

kvserver,roachtest/hotspotsplits: adjust constants to ensure backpressure #47164

Merged
merged 2 commits into from
Apr 8, 2020

Conversation

ajwerner
Copy link
Contributor

@ajwerner ajwerner commented Apr 8, 2020

See individual commits.

Fixes #46957.

@ajwerner ajwerner requested a review from nvanbenschoten April 8, 2020 01:06
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@blathers-crl
Copy link

blathers-crl bot commented Apr 8, 2020

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

🦉 Hoot! I am a Blathers, a bot for CockroachDB. I am experimental - my owner is otan.

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.

:lgtm: thanks!

We can also do the math to convince ourselves that this is sufficient, given that there's a fixed concurrency of 32.

Reviewed 1 of 1 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

ajwerner added 2 commits April 8, 2020 14:19
This commit increases backpressureByteTolerance in order to make it less
fragile in the face of large concurrent writes. This smaller setting
was chosen prior to implementing the additional mitigations in cockroachdb#46271.

Release note: None
This commit changes the size of writes for the test from 512 to 256 kb.
The reason for this change is to make it such that the inflight writes of the
test don't push a range over the backpressureByteTolerance before backpressure
begins.

Prior to this PR and the one preceding it, this test failed 10/10 times.
Afterwards it did not fail.

Release note: None
@ajwerner ajwerner force-pushed the ajwerner/fix-hotspot-splits branch from 0dc527a to 7e82c23 Compare April 8, 2020 14:21
@blathers-crl
Copy link

blathers-crl bot commented Apr 8, 2020

❌ The GitHub CI (Cockroach) build has failed on 7e82c23d.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. I am experimental - my owner is otan.

@ajwerner
Copy link
Contributor Author

ajwerner commented Apr 8, 2020

flaked on #46713 (comment)

bors r=nvanbenschoten

@craig
Copy link
Contributor

craig bot commented Apr 8, 2020

Build succeeded

@craig craig bot merged commit 624f345 into cockroachdb:master Apr 8, 2020
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: hotspotsplits/nodes=4 failed
3 participants