You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/07/13 01:51:01 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #2051: HBASE-24693 regioninfo#isLast() has a logic error

Apache9 commented on a change in pull request #2051:
URL: https://github.com/apache/hbase/pull/2051#discussion_r453395729



##########
File path: hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
##########
@@ -608,7 +608,7 @@
   /**
    * Last row in a table.
    */
-  public static final byte [] EMPTY_END_ROW = EMPTY_START_ROW;
+  public static final byte [] EMPTY_END_ROW = EMPTY_BYTE_ARRAY;

Review comment:
       I think all the changes here are for readability. As even for the above EMPTY_START_ROW to EMPTY_END_ROW change, there is no difference on behavior as they are all EMPTY_BYTE_ARRAY...




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org