-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HBASE-27796 Improve MemcachedBlockCache (#5181)
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. Signed-off-by: Viraj Jasani <vjasani@apache.org>
- Loading branch information
Showing
3 changed files
with
287 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.