virajjasani commented on a change in pull request #1509: HBASE-24182 log when 
the region is set to closing status
URL: https://github.com/apache/hbase/pull/1509#discussion_r409993847
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
 ##########
 @@ -1655,6 +1655,7 @@ public void setTimeoutForWriteLock(long 
timeoutForWriteLock) {
       }
     }
     this.closing.set(true);
+    LOG.info("Closing {}", this);
 
 Review comment:
   @Joseph295 Can you change this to "Closing region {}"? `this` is anyways 
going to print region name as string only.

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