-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
workload: use workload split functionality with tpcc #35511
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @ajwerner and @danhhz)
pkg/workload/tpcc/tpcc.go, line 333 at r1 (raw file):
} const warehousesPerRange = 10
I have a weak preference for sticking all these constants next to the numXPerY in generate.go
2ca56cb
to
b52153d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale)
pkg/workload/tpcc/tpcc.go, line 333 at r1 (raw file):
Previously, danhhz (Daniel Harrison) wrote…
I have a weak preference for sticking all these constants next to the numXPerY in generate.go
Done.
Before this PR the tpcc workloads dealt with splitting ranges on their own. This splitting logic lacked the sophistication built in to the workload package split implementation which works to mitigate imbalance. Fixes cockroachdb#25872. Release note: None
b52153d
to
334a88f
Compare
bors r+ |
Merge conflict (retrying...) |
35511: workload: use workload split functionality with tpcc r=ajwerner a=ajwerner Before this PR the tpcc workloads dealt with splitting ranges on their own. This splitting logic lacked the sophistication built in to the workload package split implementation which works to mitigate imbalance. Fixes #25872. Release note: None 35512: c-deps: bump rocksdb for bottommost files bug fix r=ajkr a=ajkr Pick up cockroachdb/rocksdb#26 Release note: None 35519: sql: fix a non-deterministic test r=knz a=knz Release note: None 35520: build: Fix docker link for alpha/beta builds r=knz a=bdarnell Release note: None Co-authored-by: Andrew Werner <[email protected]> Co-authored-by: Andrew Kryczka <[email protected]> Co-authored-by: Raphael 'kena' Poss <[email protected]> Co-authored-by: Ben Darnell <[email protected]>
Build succeeded |
Before this PR the tpcc workloads dealt with splitting ranges on their own.
This splitting logic lacked the sophistication built in to the workload package
split implementation which works to mitigate imbalance.
Fixes #25872.
Release note: None