Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3302

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • io, regionserver
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            streamy Jonathan Gray
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: