HBase
  1. HBase
  2. HBASE-3302

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: io, regionserver
    • Labels:
      None

      Description

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jonathan Gray
            Reporter:
            Jonathan Gray
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development