Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24693

regioninfo#isLast() has a logic error

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

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

      it should be 

      default boolean isLast() {
        return Bytes.equals(getEndKey(), HConstants.EMPTY_END_ROW);
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Bo Cui Bo Cui
              Reporter:
              Bo Cui Bo Cui

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment