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

Anoop Sam John commented on HBASE-23349:
----------------------------------------

Actually the Region reopen based on the metric (To allow the compacted files to 
get archived) feature is not working as per expectation now.  Because the 
metric report the max ref count across all the store files in the Region. This 
list will not include the compacted away files.  So any decision based on that 
metric is not making much sense.  Instead this new metric is telling what is 
the max ref count across all the compacted away files.  The decision and reopen 
on this make sense.  Can u include this change also as part of this Jira? 
Should be smaller change I believe.  Pls link the older issues also here (I 
think 3 or so)

> Expose max refCount among all compacted store files of a region
> ---------------------------------------------------------------
>
>                 Key: HBASE-23349
>                 URL: https://issues.apache.org/jira/browse/HBASE-23349
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 3.0.0, 2.3.0, 1.6.0
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0, 1.6.0
>
>         Attachments: HBASE-23349.master.000.patch
>
>
> We should expose a region level metric that represents max refCount among 
> refCounts of all compacted store files under the region. For successful 
> archival of compacted store files, it is important for this metric count to 
> be 0 eventually if not immediately. If it is >0 for a considerably high 
> amount of time, it indicates some issue i.e. reader refCount leak on some 
> compacted store files and in such case, archival would not be successful.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to