Skip to content

workload/ycsb: fix --request-distribution flag#86826

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/ycsbDist
Aug 30, 2022
Merged

workload/ycsb: fix --request-distribution flag#86826
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/ycsbDist

Conversation

@nvb
Copy link
Copy Markdown
Contributor

@nvb nvb commented Aug 24, 2022

This change fixes the handling of the --request-distribution flag so
that any user overrides are respected. Before, the default request
distribution for a given workload was always used, regardless of the
flag.

This bug dates back to #37804. I fear this has caused a good deal of
confusion in the past, as we often turn to YCSB-A uniform as an example
of an uncontended read/update workload.

Release justification: workload only.

@nvb nvb requested review from a team and arulajmani August 24, 2022 22:38
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@nvb nvb force-pushed the nvanbenschoten/ycsbDist branch from 96d37fc to aa7e619 Compare August 26, 2022 17:23
@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Aug 29, 2022

TFTRs!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 29, 2022

Build failed:

This change fixes the handling of the --request-distribution flag so
that any user overrides are respected. Before, the default request
distribution for a given workload was always used, regardless of the
flag.

This bug dates back to cockroachdb#37804. I fear this has caused a good deal of
confusion in the past, as we often turn to YCSB-A uniform as an example
of an uncontended read/update workload.

Release justification: workload only.
@nvb nvb force-pushed the nvanbenschoten/ycsbDist branch from aa7e619 to 519ab83 Compare August 30, 2022 00:01
@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Aug 30, 2022

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 30, 2022

Build failed (retrying...):

@craig craig bot merged commit f4b491f into cockroachdb:master Aug 30, 2022
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 30, 2022

Build succeeded:

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.

4 participants