You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhao (JIRA)" <ji...@apache.org> on 2019/08/13 04:36: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 ]

Zhao updated HBASE-22836:
-------------------------
    Attachment: HBASE-22836.branch1.0001.patch
        Status: Patch Available  (was: Open)

> 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.10, 1.4.9
>            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)