HBASE-25371: When openRegion fails during initial verification(before… (#2785)
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
65999a9027
commit
a561c71f00
|
@ -8082,7 +8082,9 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
|
|||
// MetricsRegionWrapperImpl is already init and not close,
|
||||
// add region close when open failed
|
||||
try {
|
||||
this.close();
|
||||
// It is not required to write sequence id file when region open is failed.
|
||||
// Passing true to skip the sequence id file write.
|
||||
this.close(true);
|
||||
} catch (Throwable e) {
|
||||
LOG.warn("Open region: {} failed. Try close region but got exception ", this.getRegionInfo(),
|
||||
e);
|
||||
|
|
Loading…
Reference in New Issue