Skip to content

Commit

Permalink
bench: fix wrong woakload loading (#1827)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smityz authored May 27, 2022
1 parent 3601564 commit 04c4927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/bench/ycsb.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ func (config ycsbConfig) toProperties() (*properties.Properties, error) {

// these config are always included in the config file
// should be overwritten if they are passed through the command line
if config.ReadProportion != 0 {
if config.ReadProportion != 0.95 {
// we don't need to check errors since we disabled expansion
_, _, _ = result.Set("readproportion", fmt.Sprint(config.ReadProportion))
}
if config.UpdateProportion != 0 {
if config.UpdateProportion != 0.05 {
_, _, _ = result.Set("updateproportion", fmt.Sprint(config.UpdateProportion))
}
if config.ScanProportion != 0 {
Expand Down

0 comments on commit 04c4927

Please sign in to comment.