Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-790

SSTables limited to (2^31)/15 keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 0.5
    • None
    • None
    • Critical

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              stuhood Stu Hood
              stuhood Stu Hood
              Stu Hood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: