shardul-cr7 commented on a change in pull request #570: HBASE-22013 SpaceQuotas 
- getNumRegions() returning wrong number of regions due to region replicas
URL: https://github.com/apache/hbase/pull/570#discussion_r321709241
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaObserverChore.java
 ##########
 @@ -764,6 +765,9 @@ int getNumRegions(TableName table) throws IOException {
       List<RegionInfo> regions = this.conn.getAdmin().getRegions(table);
       if (regions == null) {
         return 0;
+      } else {
 
 Review comment:
   Hi @joshelser , Thanks for the review. Did all the changes and pushed. :)

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to