Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STAR-725 Bloom false positive rate includes true negatives (apache#164)
This is a port of CASSANDRA-15384 that was partially ported in the last oss -> dse-db port. Only the corresponding dtest was ported and now it constantly fails without the actual fix in dse-db code. Patch by Jaroslaw Grabowski; reviewed by brandonwilliams and paulo for CASSANDRA-15384 Before this change the bloom filter false positive rate was calculated without true negatives which resulted in high rates. In an extreme case, where all queries return no data, the false positive rate could go up to 1.0. This change includes true negatives in [recent] bloom filter false ratio. (cherry picked from commit c0fa154) (cherry picked from commit bd77281) (cherry picked from commit d859bc9)
- Loading branch information