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

Duo Zhang commented on HBASE-15368:
-----------------------------------

The important thing is the abstraction I think... But it is strange to abstract 
a factory but only has one implementation, so I add a implementation that just 
follow cassandra's DTCS. It is released in a production and the compaction 
logic seems much simpler(compact if a window contains more than 4 files).
I think we could optimize it later when we collect some performance data? We 
have RatioBasedCompactionPolicy, then ExploringCompactionPolicy, and may still 
introduce new compaction policies.
What do you think?

Thanks.

> Add relative window support
> ---------------------------
>
>                 Key: HBASE-15368
>                 URL: https://issues.apache.org/jira/browse/HBASE-15368
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Compaction
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>         Attachments: HBASE-15368-v1.patch, HBASE-15368.patch
>
>
> To better determine 'hot' data.



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

Reply via email to