cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-790) SSTables limited to (2^31)/15 keys
Date Mon, 15 Feb 2010 22:02:30 GMT


Stu Hood updated CASSANDRA-790:

    Attachment: 0002-Add-timeouts-to-forceBlockingFlush-during-tests.patch

Updated to use factory functions rather than constructors. Also, for the factory function
that takes a bucket/elem target, if the target can't be achieved, a warning will be logged,
and the filter will degrade as gracefully as possible by using a minimum of 1 bucket/elem,
and the maximum size filter.

> SSTables limited to (2^31)/15 keys
> ----------------------------------
>                 Key: CASSANDRA-790
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.5, 0.6, 0.7
>            Reporter: Stu Hood
>            Priority: Blocker
>             Fix For: 0.5, 0.6, 0.7
>         Attachments: 0001-Change-parameters-to-BloomCalculations-in-order-to-c.patch,
0001-Change-parameters-to-BloomCalculations-in-order-to-c.patch, 0002-Add-timeouts-to-forceBlockingFlush-during-tests.patch,
> The current BloomFilter implementation requires a BitSet of (bucket_count * num_keys)
in size, and that calculation is currently performed in an integer, which causes overflow
for around 140 million keys in one SSTable.
> Short term fix: perform the calculation in a long, and cap the value to the maximum size
of a BitSet.
> Long term fix: begin partitioning BitSets, perhaps using Linear Bloom Filters.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message