You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xu Cang (Jira)" <ji...@apache.org> on 2019/09/03 21:59:00 UTC

[jira] [Updated] (HBASE-22836) MemcachedBlockCache parameter error

     [ https://issues.apache.org/jira/browse/HBASE-22836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xu Cang updated HBASE-22836:
----------------------------
    Attachment: HBASE-22836.branch-1.0001.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: zbq.dean
>            Priority: Major
>         Attachments: HBASE-22836.branch-1.0001.patch, HBASE-22836.branch-1.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
(v8.3.2#803003)