[
https://issues.apache.org/jira/browse/HBASE-22836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905811#comment-16905811
]
Zhao commented on HBASE-22836:
------------------------------
Hi, [~xucang], I have submitted a patch.
> MemcachedBlockCache parameter error
> -----------------------------------
>
> Key: HBASE-22836
> URL: https://issues.apache.org/jira/browse/HBASE-22836
> Project: HBase
> Issue Type: Bug
> Components: BlockCache
> Affects Versions: 1.4.9, 1.4.10
> Reporter: Zhao
> Priority: Major
> Attachments: HBASE-22836.branch1.0001.patch
>
>
> When cache a blockļ¼the expiration is always set MAX_SIZE (which is a static
> final field).
> MAX_SIZE was mistakenly thought to be the max size of block. In fact, this
> parameter represents the expiration of the cached block. MAX_SIZE should be
> set 0 which means forever.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)