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

Bloom filter miss counts are not measured correctly

    XMLWordPrintableJSON

Details

    Description

      Bloom filter hits and misses are evaluated incorrectly in BigTableReader.getPosition: we properly record hits, but not misses. In particular, if we don't find a match for a key in the index, which is where almost all non-matches will be rejected, we don't record a bloom filter false positive.

      This leads to very misleading output from e.g. nodetool tablestats.

      Attachments

        1. 12922-trunk.txt
          1 kB
          Sundar Srinivasan
        2. cassandra-12922-3.0.txt
          15 kB
          Aleksei Zotov
        3. cassandra-12922-3.11.txt
          15 kB
          Aleksei Zotov
        4. cassandra-12922-4.0.txt
          17 kB
          Aleksei Zotov
        5. cassandra-12922-trunk.txt
          17 kB
          Aleksei Zotov

        Activity

          People

            azotcsit Aleksei Zotov
            blambov Branimir Lambov
            Aleksei Zotov
            Benjamin Lerer, Branimir Lambov
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m