mulbc / gosbench

Distributed S3 benchmarking tool - Replacement of Cosbench
GNU General Public License v3.0
42 stars 16 forks source link

object is wrong for fuc EvaluateDistribution #17

Open thenamehasbeentake opened 1 year ago

thenamehasbeentake commented 1 year ago

Describe the bug When config objects number_distribution: sequential and number_min: 1, only 1 object writes many times

To Reproduce Steps to reproduce the behavior: Only fill 1 op when number_distribution is sequential from number_min value 1 https://github.com/mulbc/gosbench/blob/d9e82dc1c4edac1bd5655e7f1354696c87026e29/worker/main.go#L258

Expected behavior Obj name should increment from number_min to number_max

Func common.EvaluateDistribution shouldn't means bucketCount and bucket should not start from uint64(0). fillWorkqueue to fill works in the test in advance and then workUntilTimeout seems logically inaccurate