mirror of https://github.com/apache/cassandra
Fix off-by-one error in stress
patch by Benedict Elliott Smith; reviewed by Aleksey Yeschenko for CASSANDRA-6883
This commit is contained in:
parent
5f2e220556
commit
53e22120d0
|
|
@ -26,6 +26,7 @@
|
|||
* ByteBuffer write() methods for serializing sstables (CASSANDRA-6781)
|
||||
* Proper compare function for CollectionType (CASSANDRA-6783)
|
||||
* Update native server to Netty 4 (CASSANDRA-6236)
|
||||
* Fix off-by-one error in stress (CASSANDRA-6883)
|
||||
Merged from 2.0:
|
||||
* Add uuid() function (CASSANDRA-6473)
|
||||
* Omit tombstones from schema digests (CASSANDRA-6862)
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ class OptionDistribution extends Option
|
|||
@Override
|
||||
public Distribution get()
|
||||
{
|
||||
return new DistributionBoundApache(new UniformRealDistribution(min, max), min, max);
|
||||
return new DistributionBoundApache(new UniformRealDistribution(min, max + 1), min, max);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue