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

regioninfo#isLast() has a logic error

    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
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: