Skip to content

Commit

Permalink
HBASE-26429 HeapMemoryManager fails memstore flushes with NPE if enab…
Browse files Browse the repository at this point in the history
…led (apache#3819)

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Viraj Jasani <[email protected]>
  • Loading branch information
apurtell authored Nov 9, 2021
1 parent 62cd2b6 commit b03ed8b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -673,9 +673,9 @@ private void notifyFlushRequest(Region region, boolean emergencyFlush) {
FlushType type = null;
if (emergencyFlush) {
type = isAboveHighWaterMark();
if (type == null) {
type = isAboveLowWaterMark();
}
}
if (type == null) {
type = isAboveLowWaterMark();
}
for (FlushRequestListener listener : flushRequestListeners) {
listener.flushRequested(type, region);
Expand Down

0 comments on commit b03ed8b

Please sign in to comment.