stonewhitener opened a new issue, #102:
URL: https://github.com/apache/cassandra-easy-stress/issues/102

   In the current implementation, the range of `random(max)` is `[0, max)`:
   
   
https://github.com/apache/cassandra-easy-stress/blob/2f2f9bfbb78fffa32508cc58afe11b83665632e5/src/main/kotlin/org/apache/cassandra/easystress/PartitionKeyGenerator.kt#L41-L42
   
   and others are `[0, max]`:
   
   
https://github.com/apache/cassandra-easy-stress/blob/2f2f9bfbb78fffa32508cc58afe11b83665632e5/src/main/kotlin/org/apache/cassandra/easystress/PartitionKeyGenerator.kt#L47-L58
   
   
https://github.com/apache/cassandra-easy-stress/blob/2f2f9bfbb78fffa32508cc58afe11b83665632e5/src/main/kotlin/org/apache/cassandra/easystress/PartitionKeyGenerator.kt#L60-L76
   
   I guess the range of `random(max)` should be fixed to [0, max]`.
   
   Any thoughts?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to