mirror of https://github.com/apache/cassandra
Merge 15a82a79f7 into 10557d7ffe
This commit is contained in:
commit
7171ab40ba
|
|
@ -43,7 +43,7 @@ public class OffHeapBitSet implements IBitSet
|
|||
/** returns the number of 64 bit words it would take to hold numBits */
|
||||
long wordCount = (((numBits - 1) >>> 6) + 1);
|
||||
if (wordCount > Integer.MAX_VALUE)
|
||||
throw new UnsupportedOperationException("Bloom filter size is > 16GB, reduce the bloom_filter_fp_chance");
|
||||
throw new UnsupportedOperationException("Bloom filter size is > 16GB, increase the bloom_filter_fp_chance");
|
||||
try
|
||||
{
|
||||
long byteCount = wordCount * 8L;
|
||||
|
|
|
|||
Loading…
Reference in New Issue