Skip to content

Commit

Permalink
Update ycsb.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Smityz authored Mar 23, 2022
1 parent dc816b7 commit d98c95f
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 @@ -139,8 +139,8 @@ func registerYcsb(root *cobra.Command) {
cmd.PersistentFlags().Uint32Var(&config.ConnCount, "conncount", 128, "Connection Count")
cmd.PersistentFlags().BoolVar(&config.ReadAllFields, "readallfields", true, "Whether Read All Fields")

cmd.PersistentFlags().Float32Var(&config.ReadProportion, "readproportion", 0, "What proportion of operations are reads, default 0.95")
cmd.PersistentFlags().Float32Var(&config.UpdateProportion, "updateproportion", 0, "What proportion of operations are updates, default 0.05")
cmd.PersistentFlags().Float32Var(&config.ReadProportion, "readproportion", 0.95, "What proportion of operations are reads, default 0.95")
cmd.PersistentFlags().Float32Var(&config.UpdateProportion, "updateproportion", 0.05, "What proportion of operations are updates, default 0.05")
cmd.PersistentFlags().Float32Var(&config.ScanProportion, "scanproportion", 0, "What proportion of operations are scans, default 0")
cmd.PersistentFlags().Float32Var(&config.InsertProportion, "insertproportion", 0, "What proportion of operations are inserts, default 0")
cmd.PersistentFlags().Float32Var(&config.ReadModifyWriteProportion, "readmodifywriteproportion", 0, "What proportion of operations are read-modify-write, default 0")
Expand Down

0 comments on commit d98c95f

Please sign in to comment.