bbeaudreault commented on code in PR #5464:
URL: https://github.com/apache/hbase/pull/5464#discussion_r1362968100


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStates.java:
##########
@@ -627,7 +627,21 @@ public boolean hasRegionsInTransition() {
 
   public boolean isRegionInTransition(final RegionInfo regionInfo) {
     final RegionStateNode node = regionInTransition.get(regionInfo);
-    return node != null ? node.isInTransition() : false;

Review Comment:
   Does it make sense to delete the other calls to isInTransition in this 
class, I.e. in the method below? Seems redundant now



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org

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

Reply via email to