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 (#3819)

Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Viraj Jasani <[email protected]>
  • Loading branch information
apurtell committed Nov 9, 2021
1 parent 0889a91 commit 7a8483b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -646,9 +646,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 7a8483b

Please sign in to comment.