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

Sergey Shelukhin commented on HBASE-7516:
-----------------------------------------

This code will also have to change depending on compation algo, in particular 
for level.
{code}
          // exclude all files older than the newest file we're currently
          // compacting. this allows us to preserve contiguity (HBASE-2856)
          StoreFile last = filesCompacting.get(filesCompacting.size() - 1);
          int idx = candidates.indexOf(last);
          Preconditions.checkArgument(idx != -1);
          candidates.subList(0, idx + 1).clear();
        }{code}
I will try to get a prototype patch for store files into the refactor jira by 
tomorrow, tomorrow we can discuss the necessary changes 
                
> Make compaction policy pluggable
> --------------------------------
>
>                 Key: HBASE-7516
>                 URL: https://issues.apache.org/jira/browse/HBASE-7516
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jimmy Xiang
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7516-v0.patch, HBASE-7516-v1.patch, 
> HBASE-7516-v2.patch, trunk-7516.patch
>
>
> Currently, the compaction selection is pluggable. It will be great to make 
> the compaction algorithm pluggable too so that we can implement and play with 
> other compaction algorithms.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to