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

Dustin Pho commented on HBASE-16661:
------------------------------------

Regarding 2) -- `LOG.fatal(...)` over `LOG.error()` for this case? Should 
MetricsRegionWrapperImpl#getLastMajorCompactionAge return -1 in this case (and 
in the case where a major compaction has not happened)? Returning 0 implies 
that a major compaction just occurred.

> Add last major compaction age to per-region metrics
> ---------------------------------------------------
>
>                 Key: HBASE-16661
>                 URL: https://issues.apache.org/jira/browse/HBASE-16661
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Gary Helmling
>            Assignee: Dustin Pho
>            Priority: Minor
>         Attachments: HBASE-16661.001.patch
>
>
> After HBASE-12859, we can now track the last major compaction timestamp for 
> each region.  However, this is only exposed through cluster status reporting 
> and the admin API.
> We have similar per-region metrics around storefile age, but none that 
> filters on major compaction specifically.
> Let's add a metric for last major compaction age.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to