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

Lars Hofhansl commented on HBASE-7902:
--------------------------------------

(we had comment overlap above... Took a bit to type that comment :) ).

The memstore can have new or old data (back or forward dated), so it always 
needs to be considered (if that is what you meant).

I think I mentioned on the strip-compaction-jira... Every compaction that wants 
to remove delete markers has to consider the memstore and L0. Now it does seem 
that such compacation needs to consider all levels.
In the face of application defined timestamps that is indeed a bit tricky (and 
one area where we differ from LevelDB).

In the striped case each stripe is individually leveled, right? So we still get 
the benefit that a "major compaction" only has to consider this stripe (plus 
memstore and all L0) even if that includes all levels.

                
> deletes may be removed during minor compaction,  in non-standard compaction 
> schemes
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-7902
>                 URL: https://issues.apache.org/jira/browse/HBASE-7902
>             Project: HBase
>          Issue Type: Improvement
>          Components: Compaction
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Minor
>         Attachments: HBASE-7902-v0.patch, HBASE-7902-v0-with-7843.patch
>
>
> Deletes are only removed during major compaction now. However, in presence of 
> file ordering, deletes can be removed during minor compaction too, as long as 
> there's no file that is not being compacted that is older than the files that 
> are.

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