Andrew Kyle Purtell created HBASE-27796:
-------------------------------------------
Summary: Improve MemcachedBlockCache
Key: HBASE-27796
URL: https://issues.apache.org/jira/browse/HBASE-27796
Project: HBase
Issue Type: Bug
Affects Versions: 2.5.4
Reporter: Andrew Kyle Purtell
Assignee: Andrew Kyle Purtell
Fix For: 2.6.0, 3.0.0-alpha-4, 2.5.5, 2.4.18
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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)