HBASE-24182 log when the region is set to closing status (#1509)

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Joseph295 2020-04-18 03:20:12 +08:00 committed by GitHub
parent db36cf71c5
commit 5ff4376d80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1655,6 +1655,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
}
}
this.closing.set(true);
LOG.info("Closing region {}", this);
status.setStatus("Disabling writes for close");
try {
if (this.isClosed()) {