HBASE-25371: When openRegion fails during initial verification(before… (#2785)
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
56f1dbd116
commit
dcb38f47db
|
@ -8135,7 +8135,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