hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu Li (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-17782) Extend IdReadWriteLock to support using both weak and soft reference
Date Tue, 14 Mar 2017 09:46:41 GMT

    [ https://issues.apache.org/jira/browse/HBASE-17782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923884#comment-15923884
] 

Yu Li edited comment on HBASE-17782 at 3/14/17 9:45 AM:
--------------------------------------------------------

Uploading the initial patch, in which:
1. Add parameter for IdReadWriteLock constructor to decide which reference type to use, WEAK
by default
2. Use soft reference in BucketCache per discussion in HBASE-17747
3. Change to use IdLock in RegionGroupingProvider

[~Apache9] mind take a look? Thanks.


was (Author: carp84):
Uploading the initial patch, in which:
1. Add parameter for IdReadWriteLock constructor to decide which reference type to use, WEAK
by default
2. Use soft reference in BucketCache per discussion in HBASE-14477
3. Change to use IdLock in RegionGroupingProvider

[~Apache9] mind take a look? Thanks.

> Extend IdReadWriteLock to support using both weak and soft reference
> --------------------------------------------------------------------
>
>                 Key: HBASE-17782
>                 URL: https://issues.apache.org/jira/browse/HBASE-17782
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 2.0
>            Reporter: Yu Li
>            Assignee: Yu Li
>         Attachments: HBASE-17782.patch
>
>
> As per discussed in HBASE-17747, we need to make it configurable to decide whether to
use weak or soft reference for {{IdReadWriteLock}}, with soft reference by default.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message