[ 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)