hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Bautin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-4350) Fix a Bloom filter bug introduced by HFile v2 and TestMultiColumnScanner that caught it
Date Thu, 08 Sep 2011 04:57:09 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mikhail Bautin updated HBASE-4350:
----------------------------------

    Attachment: 0001-TestMultiColumnScanner-and-Bloom-filter-fix.patch

Attaching the diff, also found at https://reviews.apache.org/r/1743/diff

> Fix a Bloom filter bug introduced by HFile v2 and TestMultiColumnScanner that caught
it
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4350
>                 URL: https://issues.apache.org/jira/browse/HBASE-4350
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Mikhail Bautin
>            Assignee: Mikhail Bautin
>             Fix For: 0.92.0
>
>         Attachments: 0001-TestMultiColumnScanner-and-Bloom-filter-fix.patch
>
>
> Nicolas pointed out to me that the new unit test TestMultiColumnScanner that I wrote
for the multi-column scanner Bloom filter optimization (which we will soon release) did not
pass on the open-source trunk, and it bisected down to the HFile v2 commit. I debugged the
unit test and found that there was a serious bug in HFile v2 Bloom filter lookup not caught
by any of the existing unit tests: Bloom filters were used for "non-Get" Scans, which did
not have minimum/maximum row set correctly, and some scan results were not returned.
> This diff is the unit test that helped catch the problem and a one-line fix for the bug.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message