scylladb / scylla-bench

42 stars 34 forks source link

Concurrency flag behaves completely wrong when the "concurrency" is larger than the number of partitions in sequential mode #138

Open roydahan opened 4 months ago

roydahan commented 4 months ago

https://github.com/scylladb/scylla-bench/blob/e87621070b86ad0c8e1d7ae78500414c55895f14/main.go#L137-L146

In case the user supplies: "-partition-count=50" and "-concurrency=100" it seems that the first 99 threads won't do anything and the last thread will read all partitions.