hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17897) StripeStoreFileManager#nonOpenRowCompare use the wrong comparison function.
Date Mon, 10 Apr 2017 04:56:41 GMT
Chia-Ping Tsai created HBASE-17897:
--------------------------------------

             Summary: StripeStoreFileManager#nonOpenRowCompare use the wrong comparison function.
                 Key: HBASE-17897
                 URL: https://issues.apache.org/jira/browse/HBASE-17897
             Project: HBase
          Issue Type: Sub-task
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


{noformat}
  private final int nonOpenRowCompare(byte[] k1, byte[] k2) {
    assert !isOpen(k1) && !isOpen(k2);
    return cellComparator.compareRows(new KeyOnlyKeyValue(k1), k2, 0, k2.length);
  }
{noformat}
The inputs aren't KeyValue format, so it is wrong to use KeyOnlyKeyValue to parse the row.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message