[
https://issues.apache.org/jira/browse/HBASE-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098655#comment-13098655
]
anty.rao commented on HBASE-2158:
---------------------------------
stack, and also see
http://hbase.apache.org/xref/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.html#415
and
{code}
public synchronized void reclaimMemStoreMemory()
{
if (isAboveHighWaterMark())
{
lock.lock();
try
{
while (isAboveHighWaterMark() && !server.isStopped())
{
wakeupFlushThread();
try
{
// we should be able to wait forever, but we've seen a
// bug where
// we miss a notify, so put a 5 second bound on it at
// least.
flushOccurred.await(5, TimeUnit.SECONDS);
}
catch (InterruptedException ie)
{
Thread.currentThread().interrupt();
}
}
}
finally
{
lock.unlock();
}
}
else if (isAboveLowWaterMark())
{
wakeupFlushThread();
}
}
{code}
> Change how high/low global limit works; start taking on writes as soon as we
> dip below high limit rather than block until low limit as we currently do.
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-2158
> URL: https://issues.apache.org/jira/browse/HBASE-2158
> Project: HBase
> Issue Type: Improvement
> Reporter: stack
>
> A Ryan Rawson suggestion. See HBASE-2149 for more context.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira