saintstack commented on a change in pull request #1305: HBASE-23984 [Flakey 
Tests] TestMasterAbortAndRSGotKilled fails in tea…
URL: https://github.com/apache/hbase/pull/1305#discussion_r395180676
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.java
 ##########
 @@ -38,9 +36,13 @@
 /**
  * Handles closing of a region on a region server.
  * <p/>
- * Now for regular close region request, we will use {@link 
UnassignRegionHandler} instead. But when
- * shutting down the region server, will also close regions and the related 
methods still use this
- * class so we keep it here.
+ * In normal operation, we use {@link UnassignRegionHandler} closing Regions 
but when shutting down
+ * the region server and closing out Regions, we use this handler instead; it 
does not expect to
 
 Review comment:
   CRH is not for tests only. If you want to remove it, more work needs to be 
done first. Meantime, lets land this patch to fix a bug around cluster shutdown 
revealed by tests.

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