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



##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/MutableRegionInfo.java
##########
@@ -254,8 +254,10 @@ public MutableRegionInfo setSplit(boolean split) {
 
   /**
    * @return True if this region is offline.
+   * @deprecated since 3.0.0 and will be removed in 4.0.0

Review comment:
       Please add comments to explain the reason.

##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/MutableRegionInfo.java
##########
@@ -273,8 +275,10 @@ public MutableRegionInfo setOffline(boolean offLine) {
 
   /**
    * @return True if this is a split parent region.
+   * @deprecated since 3.0.0 and will be removed in 4.0.0

Review comment:
       Please add comments to say why and also let users to use isSplit instead.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to