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

Improve MemcachedBlockCache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.4
    • 2.6.0, 3.0.0-alpha-4, 2.5.5
    • None
    • None
    • Reviewed

    Description

      MemcachedBlockCache is apparently not used, given the bugs I have found, but provides some useful functionality that we are investigating at $dayjob. Fix it.

      • Track and log better stats
      • Fix use of memcached API such that we are not accidentally immediately expiring keys.
      • Use a default retention period of 30 days, the max per memcached spec
      • Use set instead of add to store keys
      • Gracefully handle failures to cache and read timeouts
      • Add unit tests using jmemcached as a test dependency

      Attachments

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: