HBASE-16755 Honor flush policy under global memstore pressure
Signed-off-by: Gary Helmling <garyh@apache.org>
This commit is contained in:
parent
85fda44179
commit
4b62a52ebc
|
@ -203,7 +203,7 @@ class MemStoreFlusher implements FlushRequester {
|
||||||
+ humanReadableInt(server.getRegionServerAccounting().getGlobalMemstoreDataSize())
|
+ humanReadableInt(server.getRegionServerAccounting().getGlobalMemstoreDataSize())
|
||||||
+ ", Region memstore size="
|
+ ", Region memstore size="
|
||||||
+ humanReadableInt(regionToFlush.getMemstoreSize()));
|
+ humanReadableInt(regionToFlush.getMemstoreSize()));
|
||||||
flushedOne = flushRegion(regionToFlush, true, true);
|
flushedOne = flushRegion(regionToFlush, true, false);
|
||||||
|
|
||||||
if (!flushedOne) {
|
if (!flushedOne) {
|
||||||
LOG.info("Excluding unflushable region " + regionToFlush +
|
LOG.info("Excluding unflushable region " + regionToFlush +
|
||||||
|
|
Loading…
Reference in New Issue