You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Bo Cui (Jira)" <ji...@apache.org> on 2020/07/08 02:29:00 UTC

[jira] [Created] (HBASE-24693) regioninfo#isLast() has a logic error

Bo Cui created HBASE-24693:
------------------------------

             Summary: regioninfo#isLast() has a logic error
                 Key: HBASE-24693
                 URL: https://issues.apache.org/jira/browse/HBASE-24693
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.2.3, master
            Reporter: Bo Cui


[https://github.com/apache/hbase/blob/90f4ff7d7c6997f61dbe40748b5c157879352acb/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java#L771]

it should be 
{code:java}
default boolean isLast() {
  return Bytes.equals(getEndKey(), HConstants.EMPTY_END_ROW);
}
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)