[
https://issues.apache.org/jira/browse/HBASE-24693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17157261#comment-17157261
]
Viraj Jasani commented on HBASE-24693:
--------------------------------------
Thanks [~Bo Cui] for the patch. Let me update PR title a bit and merge this to
all applicable branches.
> 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: master, 2.2.3
> Reporter: Bo Cui
> Assignee: Bo Cui
> Priority: Minor
>
> [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)