HBASE-26429 HeapMemoryManager fails memstore flushes with NPE if enabled (#3819)
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
62cd2b688e
commit
b03ed8bae0
|
@ -673,10 +673,10 @@ public class MemStoreFlusher implements FlushRequester {
|
|||
FlushType type = null;
|
||||
if (emergencyFlush) {
|
||||
type = isAboveHighWaterMark();
|
||||
}
|
||||
if (type == null) {
|
||||
type = isAboveLowWaterMark();
|
||||
}
|
||||
}
|
||||
for (FlushRequestListener listener : flushRequestListeners) {
|
||||
listener.flushRequested(type, region);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue