To prevent possible overrun of block cache with CacheOnWrite, add safeguard so 
we reject blocks if completely full
------------------------------------------------------------------------------------------------------------------

                 Key: HBASE-3302
                 URL: https://issues.apache.org/jira/browse/HBASE-3302
             Project: HBase
          Issue Type: Improvement
          Components: io, regionserver
            Reporter: Jonathan Gray
            Assignee: Jonathan Gray
             Fix For: 0.92.0


With the aggressive caching when CacheOnWrite is turned on, and given the 
current LRU architecture, there's potential (though low probability) we could 
overrun the block cache capacity by caching faster than we can evict.

Currently the block cache triggers eviction at 85% capacity.  If somehow we 
attempt to cache a block but the cache is at 100% capacity, we should reject 
caching of that block.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to