hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Francke (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13634) Avoid unsafe reference equality checks to EMPTY byte[]
Date Thu, 07 May 2015 20:26:00 GMT

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

Lars Francke updated HBASE-13634:
---------------------------------
    Status: Patch Available  (was: Open)

> Avoid unsafe reference equality checks to EMPTY byte[]
> ------------------------------------------------------
>
>                 Key: HBASE-13634
>                 URL: https://issues.apache.org/jira/browse/HBASE-13634
>             Project: HBase
>          Issue Type: Bug
>          Components: Compaction, Scanners
>            Reporter: Dave Latham
>            Assignee: Lars Francke
>             Fix For: 2.0.0, 1.2.0, 1.1.1
>
>         Attachments: HBASE-13634-v1.patch, HBASE-13634.patch
>
>
> While looking to see if there was a standard method in the code base for testing for
the empty start and end row, I noticed some cases that are using unsafe reference equality
checks and thus may have incorrect behavior in boundary cases:
> ScanQueryMatcher.checkPartialDropDeleteRange
> StripeStoreFileManager.findStripeForRow
> It looks like both are intended to support stripe compaction



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message