HBASE-9810 Global memstore size will be calculated wrongly if replaying recovered edits throws exception
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541783 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
61cabc3b2c
commit
5a7fa744f8
|
@ -2851,11 +2851,11 @@ public class HRegion implements HeapSize { // , Writable{
|
|||
throw e;
|
||||
}
|
||||
}
|
||||
// The edits size added into rsAccounting during this replaying will not
|
||||
// be required any more. So just clear it.
|
||||
if (this.rsAccounting != null) {
|
||||
this.rsAccounting.clearRegionReplayEditsSize(this.getRegionName());
|
||||
}
|
||||
}
|
||||
// The edits size added into rsAccounting during this replaying will not
|
||||
// be required any more. So just clear it.
|
||||
if (this.rsAccounting != null) {
|
||||
this.rsAccounting.clearRegionReplayEditsSize(this.getRegionName());
|
||||
}
|
||||
if (seqid > minSeqIdForTheRegion) {
|
||||
// Then we added some edits to memory. Flush and cleanup split edit files.
|
||||
|
|
Loading…
Reference in New Issue